logging events level
To specify a severity level for logging alarm messages, use the
logging events level
command in global
configuration mode. To return to the default value, use the
no
form of this command.
logging events level severity
no logging events level
Syntax Description
Severity level of events to be logged in the logging events buffer, including events of a
higher severity level (numerically lower).
Table 2: Alarm Severity Levels for Event
Logging, on page 31
lists severity levels and their respective system conditions.
severity
Command Default
All severity levels (from 0 to 6) are logged.
Command Modes
Global configuration
Command History
Modification
Release
This command was introduced.
Release 3.2
Usage Guidelines
This command specifies the event severity necessary for alarm messages to be logged. Severity levels can be
specified by the severity level description (for example,
warnings
). When a severity level is specified, events
of equal or lower severity level are also written to the logging events buffer.
Events of lower severity level represent events of higher importance.
Note
This table lists the system severity levels and their corresponding numeric values, and describes the
corresponding system condition.
Table 2: Alarm Severity Levels for Event Logging
Logged System Messages
Numeric Value
Severity Level Keyword
System is unusable.
0
emergencies
Critical system condition exists
requiring immediate action.
1
alerts
Critical system condition exists.
2
critical
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01
31
Alarm Management and Logging Correlation Commands
logging events level