freeleaps-ops/log.example.jsonl
zhenyus 33314f5e48 fix: update service Git repository URLs and credentials in Jenkinsfiles
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-18 10:57:19 +08:00

28 lines
634 B
JSON

// Logging to File
{
// logging by program
"level": "info",
"timestamp": 1744776892300,
"text": "This is a test log text",
"fields": {
"foo": "bar"
},
"context": {
"app": "app-name",
"env": "alpha",
"log_line": 12,
"log_file": "auth.py"
},
"stacktrace": null,
// enriched by the OpenTelemetry
"kubernetes": {
"pod": "pod-name",
"node": "node-name",
"pod_ip": "pod-ip",
"container_name": "container-name",
"node_ip": "node-ip",
"namespace": "namespace-name",
}
}
// FmtLine: INFO - 2022-05-12 10:34:52 - <log_file:log_line> - {"foo": "bar"} - This is a test log text