Chapter 58
Configuring System Message Logging
To disable logging to the console, use the no logging console global configuration command. To disable
logging to a terminal other than the console, use the no logging monitor global configuration command.
To disable logging to syslog servers, use the no logging trap global configuration command.
Table 58-3
the most severe level to the least severe level.
Table 58-3
Level Keyword
emergencies
alerts
critical
errors
warnings
notifications
informational
debugging
The software generates four other categories of messages:
•
•
•
•
Limiting Syslog Messages Sent to the History Table and to SNMP (Optional)
If you enabled syslog message traps to be sent to an SNMP network management station by using the
snmp-server enable trap global configuration command, you can change the level of messages sent and
stored in the switch history table. You also can change the number of messages that are stored in the
history table.
Messages are stored in the history table because SNMP traps are not guaranteed to reach their
destination. By default, one message of the level warning and numerically lower levels (see
on page
OL-25340-01
describes the level keywords. It also lists the corresponding UNIX syslog definitions from
Message Logging Level Keywords
Level
0
1
2
3
4
5
6
7
Error messages about software or hardware malfunctions, displayed at levels warnings through
emergencies. These types of messages mean that the functionality of the switch is affected. For
information on how to recover from these malfunctions, see the system message guide for this
release.
Output from the debug commands, displayed at the debugging level. Debug commands are
typically used only by the Technical Assistance Center.
Interface up or down transitions and system restart messages, displayed at the notifications level.
This message is only for information; switch functionality is not affected.
Reload requests and low-process stack messages, displayed at the informational level. This
message is only for information; switch functionality is not affected.
58-9) are stored in the history table even if syslog traps are not enabled.
Description
System unstable
Immediate action needed
Critical conditions
Error conditions
Warning conditions
Normal but significant condition
Informational messages only
Debugging messages
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
Configuring System Message Logging
Syslog Definition
LOG_EMERG
LOG_ALERT
LOG_CRIT
LOG_ERR
LOG_WARNING
LOG_NOTICE
LOG_INFO
LOG_DEBUG
Table 58-3
58-9