Administrator Guide

Switch Management Commands 2166
Syntax
logging file [
severitylevel-number
|
type
]
no logging file
severity–level
—(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 level is
error.
Command Mode
Global Configuration mode
User Guidelines
Debug level messages are intended for use by support personnel. The output
is voluminous, cryptic, and because of the large number of messages
generated, can adversely affect switch operations. Only set the logging level to
debug under the direction of support personnel.
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
2CSNXXX_SWUM204.book Page 2166 Monday, January 25, 2016 1:25 PM