Log Formats¶
This document details about the log formats for CNF CWC.
CNF CWC¶
The CNF CWC logs include the timestamp, log type, severity, version and message in key-value pair format.
Log Format¶
"ts"="<Timestamp>"|"l"="<Severity>"|"m"="<Message>"|"id"="<Message ID>"|"lt"="<LogType>"|"arg1"="val1"|"arg2"="val2"... |"pod"="<f5.pod.name>"|"ct"="<container.name>"|"sn"="<service.name>"|"cv"="<container.image.version>"|"ns"="k8s.namespace.name"|"v"="<LogSchemaVersion>"|"src"="<Source>"
Example¶
"ts"="2026-01-09 09:36:33.536"|"l"="info"|"m"="Mode is configured"|"lt"="A"|"id"="18030-000088"|"mode"="connected"|"pod"="f5-spk-cwc-5859dfc66c-krfxd"|"ct"="spkcwc"|"cv"="v0.34.14-10.0.9"|"ns"="default"|"v"="1.0"
Supported CNF CWC Key¶
Refer Log format Keys and Log Levels or Severity Levels for supported CNF CWC keys. The CWC log format keys and the additional controller-specific keys are identical to those used by the controller. This is because both the CWC and the controller utilize the same logging library.
Log Types¶
The table below list the supported log types:
| Log Types | Description |
|---|---|
| C | Compliance/Audit |
| T | Transaction |
| S | System |
| U | User |
| A | Application |
Log Levels or Severity Levels¶
The table below list the supported log level / severity levels:
| Value | Log Level / Severity Level | Description |
|---|---|---|
| 0 | Emergency | System is unusable |
| 1 | Alert | Action must be taken immediately |
| 2 | Critial | Critical conditions |
| 3 | Error | Error conditions |
| 4 | Warning | Warning conditions |
| 5 | Notice | Normal but significant conditions |
| 6 | Informational | Informational messages |
| 7 | Debug | Debug-level messages |