Example
The following example limits syslog messages stored in the logging file to
severity level "warning" and above (numerically lower).
console(config)#logging file warning
logging monitor
Use the logging monitor command in Global Configuration mode to enable
logging messages to telnet and SSH sessions with the default severity level.
Use the no logging monitor command to disable logging messages.
Syntax
logging monitor
no logging monitor
severity —(Optional) The number or name of the desired severity level.
•
Range:
–
[0 | emergencies]
–
[1 | alerts]
–
[2 | critical]
–
[3 | errors]
–
[4 | warnings]
–
[5 | notifications]
–
[6 | informational]
–
[7 | debugging]
Default Configuration
The default severity value is warnings. By default, logging messages are not
displayed on SSH or telnet sessions. Logging messages are displayed by
default on console sessions (serial and out-of-band ports).
Command Mode
Global Configuration mode
severity
Syslog Commands
1659