Files
oam/knowledge base/logging.md
2025-05-10 23:29:14 +02:00

2.3 KiB

Logging

TODO

Recording of events or actions.

  1. TL;DR
  2. Level
  3. Further readings
    1. Sources

TL;DR

Usually composed at least by:

  • Timestamp.
  • Level (A.K.A. Severity).
  • Message.
  • Other metadata.

Long term storage is frequently cause of concern.
Analysis and search is extremely difficult and computationally expensive at scale.
Locality and standardization are often issues, with each application storing their own logs in their own format on their own files in different locations. Finding a way to bring all those into a central location for analysis is one of the goals of aggregation solutions.

Level

Level Summary
Debug Detailed contextual information used during development or for troubleshooting
Information Normal, expected events
Warning Situations that are unexpected but not errors; can potentially lead to problems if ignored
Error Issues that need immediate attention, but might not require termination of operations
Critical Failures or events that require immediate and decisive attention, where operations cannot continue

Further readings

Sources