WARN
The log level for a problem the system recovered from by itself, such as a retry that succeeded or a fallback that was used.
In more detail
A warning means the system degraded and then healed without losing work. Approaching a limit, such as a quota getting close, also belongs here.
Example
{"level": "WARN", "event": "retry_succeeded", "attempt": 2}Related terms
- log level — A label on each log message saying how serious it is, from debug and info up to error, critical and emergency.
- ERROR — The log level for work that was actually lost: a request failed and the user did not get what they asked for.
- retry — Sending a request again after it failed or timed out, in the hope that it succeeds the second time.
Taught in
- Troubleshooting Sprint: Three Tickets, One Morning — CompTIA Cloud+ (CV0-004) Exam Prep
- Structured Logging And Why Text Fails — Full-Stack Observability: Metrics, Tracing & Logging
- Log Levels Done Properly — Full-Stack Observability: Metrics, Tracing & Logging
- Verbose Logging: TF_LOG And Friends — HashiCorp Terraform Associate (004) Exam Prep
- The Full Mock: Sixty Minutes, Eight Areas, One Plan For The Last Week — HashiCorp Terraform Associate (004) Exam Prep