Configuring System Message Logging
Table 29-3
the most severe level to the least severe level.
Table 29-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
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
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
29-10
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.
29-10) are stored in the history table even if syslog traps are not enabled.
Chapter 29
Description
System unstable
Immediate action needed
Critical conditions
Error conditions
Warning conditions
Normal but significant condition
Informational messages only
Debugging messages
Configuring System Message Logging
Syslog Definition
LOG_EMERG
LOG_ALERT
LOG_CRIT
LOG_ERR
LOG_WARNING
LOG_NOTICE
LOG_INFO
LOG_DEBUG
Table 29-3
OL-26520-01