Administrator Guide

Switch Management Commands 2180
Example
The following example limits SYSLOG messages stored in the logging file to
severity level “warnings” and above (numerically lower).
console(config)#logging file warnings
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 severity
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 logging monitor severity level is warnings. By default, logging
messages are not displayed on SSH or telnet sessions (no logging monitor
warnings). Logging messages are displayed by default on console sessions
(serial and out-of-band ports).
Command Mode
Global Configuration mode