Log levels and descriptions

Number

Level

Description

0

LOG_EMERG

Log only those messages in which the system is unusable.

1

LOG_ALERT

Log only those messages for which action must be taken immediately.

2

LOG_CRIT

Log only those messages that are critical.

3

LOG_ERR

Log only those messages that indicate error conditions.

4

LOG_WARNING

Log only those messages that are warnings or more serious messages. This is the default level of debug information.

5

LOG_NOTICE

Log those messages that indicate normal but significant conditions or warnings and more serious messages.

6

LOG_INFO

Log all informational messages and more serious messages.

7

LOG_DEBUG

Log all debug-level messages.

8

LOG_TRACE

Log all available messages.