Chapter 21. level
The logging level from various sources, including
rsyslog(severitytext property), a Python logging module, and others.
emerg, system is unusable.
alert, action must be taken immediately.
crit, critical conditions.
err, error conditions.
warn, warning conditions.
notice, normal but significant condition.
debug, debug-level messages.
The two following values are not part of
syslog.h but are widely used:
trace, trace-level messages, which are more verbose than
unknown, when the logging system gets a value it doesn’t recognize.
Map the log levels or priorities of other logging systems to their nearest match in the preceding list. For example, from python logging, you can match
err, and so on.