syslog level

Specifies the minimum severity of messages sent to a syslog server.

Syntax

[no] syslog level <level>

Syntax Description

no

(Optional) Resets the syslog level to its default value.

level

Only send log messages of the specified severity level or higher to the syslog server.

Defaults

The default severity level is 7.

Usage Guidelines

This command sets the minimum severity level of messages to be sent to an external syslog server. Note that 0 is the highest severity level and 7 is the lowest, as follows:

0

Critical system failure

1

Critical or unexpected unrecoverable error

2

Unexpected recoverable error

3

Less severe error

4

Warning

5

Informational message

6

Debugging message

7

Verbose debugging message

Examples

syslog level 2

Last updated