Syslog Commands
logging severity
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
457
35
However, if logging is disabled, no messages are sent to these destinations. Only
the console receives the error messages.
Example
The following example enables logging on the switch:
switchxxxxxx(config)#
logging on
logging severity
To set the severity level for error messages that are logged to RAM or flash, use
the logging severity Global Configuration mode command.
Syntax
logging {buffered | console | file} severity [
severity_level
]
Parameters
•
buffered—Stores the messages in the RAM.
•
console—Stores the messages on the console.
•
file—Stores the messages in flash memory.
•
severity_level
—(Optional) The severity level of messages logged in the
buffer. The optional severity levels are:
<0-7> Minimum severity <0-7> (EMEGR-DEBUG)
emergencies System is unusable
alerts Immediate action needed (severity=1)
critical Critical conditions (severity=2)
errors Error conditions (severity=3)
warnings Warning conditions (severity=4)
notifications Normal but significant conditions (severity=5)
informational Informational messages (severity=6)
debugging Debugging messages (severity=7)
Default Configuration
The default severity level is informational.