Users Guide

Switch Management Commands 2187
level
Use the level command in Logging mode to specify the severity level of
SYSLOG messages. To reset to the default value, use the no form of the
command.
Syntax
level <level>
no level
level—The severity level for SYSLOG messages. (emergencies, alerts,
critical, errors, warnings, notifications, informational, debugging)
Default Configuration
The default value for level is info.
Command Mode
Logging mode
User Guidelines
After entering the view corresponding to a specific SYSLOG server, the
command can be executed to set the severity level for SYSLOG messages.
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 sets the SYSLOG message severity level to alert.
console(config-logging)#level alerts
logging cli-command
Use the logging cli-command in Global Configuration mode to enable CLI
command logging.