Log Levels
Cheat sheet · https://pcornel.dk/topic.php?topic=5961
Answer
Log Levels classify automation events by operational significance so routine progress, diagnostic detail, recoverable anomalies and terminal failures can be filtered without hiding evidence required to understand run outcome.
Remember
- Error level ≠ job necessarily failed.
- Info level ≠ event operationally unimportant.
- Debug enabled ≠ diagnosis complete.
- Lower verbosity ≠ lower storage cost if event volume remains uncontrolled.
First checks
- Levels (DEBUG, INFO, WARNING, ERROR) — severity
- Default INFO in production — noise
- Debug toggle per run — troubleshooting
Verify in this order
event severity → level → handling
Where it usually breaks
A log level is classification metadata, not a proof of root cause, business impact, job success or target health.
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness. Preserve at least three independent checks: prerequisite/interface or identity/transport state; the owning control/service/policy state; then effective data-plane, backend or workload state. A healthy upstream boundary does not prove the downstream consumer or return path.
Log Levels observability proof-boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Identity / scope | Immutable source plus run/job/attempt and exact target IDs are explicit | Floating source, shared labels or ambiguous target scope make events hard to attribute |
| Telemetry path | Structured logs, metrics and traces are exported, timestamped, retained and correlated | Console-only output, missing data or broken correlation silently creates blind spots |
| Effective outcome | Job status is paired with target read-back and workload/service acceptance | Green execution state substitutes for effective target or service verification |
| Monitoring / closure | Rates, latency, freshness and alerts use explicit windows/objectives and tested recovery | Untested alerts, stale dashboards or one successful sample are treated as healthy system proof |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5961