3 ms·
In a past life, I spent a lot of time aligning and instrumenting log levels across a SaaS product. We used similar levels. DEBUG - Only useful for developers
by fatnoah 5y ago
In a past life, I spent a lot of time aligning and instrumenting log levels across a SaaS product. We used similar levels.
DEBUG - Only useful for developers and QA looking to understand exactly what happened and why on a per-request basis.
INFO - Provide information about the current state of the system. This was our production Log Level
WARNING - Something happened that will likely require action at some point in the near future, but not immediately. i.e. Approaching quota limits, temporary conditions we can work around, etc.
ERROR - Something unexpected happened and should be looked at soon if only a one-off or immediately if consistent. SEV 1 or 2 depending.
FATAL - Conditions prevent the system from being able to operate correctly. Generally a complete and catastrophic failure that will not resolve on its own, such as missing dependencies, invalid configuration, etc.