Logging Levels in Obics
Obics logs include a level
field for each log. This is a UInt8
type that can have values from 1 to 6. Value 1 is the most verbose and least severe, while value 6 is the least verbose and represents a fatal failure. When ingesting logs, the level
field is optional. If omitted, the default value is 3 (INFO).
Here are all the logging levels:
Value | Level |
---|---|
1 | TRACE |
2 | DEBUG |
3 | INFO (default) |
4 | WARN |
5 | ERROR |
6 | FATAL |
Tip
The level
field has a semantic value because it tells Obics AI when problems occur. Using it appropriately allows Obics to automatically recognize error spikes and create alerts.