Troubleshooting guide

A-7
ATM and Layer 3 Switch Router Troubleshooting Guide
OL-1969-01
Appendix
Enabling Message Logging
Examples
To enable message logging to all supported destinations other than the console, enter the logging on
command as in the following example:
Switch(config)# logging on
To direct logging to the console terminal only and disable logging output to other destinations, enter the
no logging on command as in the following example:
Switch(config)# no logging on
Setting the Message Logging Levels
You can set the logging levels when you log messages to the following devices:
Console
Monitor
Syslog server
Table A-1 lists and briefly describes the logging levels and corresponding keywords you can use to set
the logging levels for these types of messages. The highest level of message is 0, emergencies. The
lowest level is 7, debugging, which also displays the largest number of messages.
For information about limiting these messages, refer to the sections that follow.
Table A-1 Message Logging Keywords and Levels
Level Keyword Description Syslog Definition
0 emergencies System is unusable. LOG_EMERG
1 alerts Immediate action is needed. LOG_ALERT
2 critical Critical conditions exist. LOG_CRIT
3 errors Error conditions exist. LOG_ERR
4 warnings Warning conditions exist. LOG_WARNING
5 notifications Normal, but significant, conditions exist. LOG_NOTICE
6 informational Informational messages. LOG_INFO
7 debugging Debugging messages. LOG_DEBUG