Switch Management Commands 2144
Syntax
logging file [severity–level-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 emergencies.
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