Users Guide

Switch Management Commands 2230
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 emergencies.
Command Mode
Global Configuration mode
User Guidelines
The logging file command controls the minimum severity for which system
messages are logged to the flash file system. Messages are flushed to the file
system on every write. It is not recommended to use any setting other than
the default unless debugging a specific issue. Using a severity other than the
default may shorten the lifespan of the switch as the flash supports a limited
number of write cycles and a limited number of spare blocks.
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.