Show pageOld revisionsBacklinksAdd to bookExport to PDFODT exportBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== 15.2 Log Format ====== [[fxdemo:05-part:start | Go To Top ]] [[fxdemo:05-part:15-logging-and-observability:start | Return to Logging and Observability ]] The team should use a consistent log format so that logs from scripts, Nodes, containers, and test tools can be inspected and compared. A consistent format also supports later automation, filtering, dashboards, and Evidence extraction. Each log entry should include, where practical: - Timestamp. - Severity level. - Source component. - Node Identity, where applicable. - Runtime instance identifier, where applicable. - Message. - Event or operation name, where useful. - Correlation identifier, where useful. - Error code or exception class, where applicable. - Evidence or run identifier, where applicable. A representative plain-text log entry format is: <code> 2026-06-04T14:32:10Z INFO fx-validation-node lifecycle state=Running message="Node reached running state" </code> A representative structured log entry format is: <code> { "timestamp": "2026-06-04T14:32:10Z", "level": "INFO", "component": "fx-validation-node", "nodeRole": "ValidationNode", "event": "LifecycleStateChanged", "state": "Running", "message": "Node reached running state" } </code> The team may use plain-text logs for simple Phase 0 scripts and structured logs for Nodes or acceptance Evidence. If the team uses more than one format, the relevant script, Node, or container documentation should identify the format and its purpose. Severity levels should have consistent meanings: - DEBUG records detailed diagnostic information for development or troubleshooting. - INFO records non-significant events. - WARN records unexpected or degraded conditions that do not immediately stop execution. - ERROR records failures that prevent a requested operation or Node behavior from completing normally. - FATAL records unrecoverable failures that force process termination or make the Node unsafe to continue. ---- <WRAP centeralign> © 2026 Dido Solutions, Inc. and Jackrabbit Consulting, Inc. </WRAP> fxdemo/05-part/15-logging-and-observability/15-2-log-format/start.txt Last modified: 2026/08/10 15:36by owen