Event Severities
The system provides the flexibility to configure the level of information that is displayed when logging is
enabled. The following levels are supported:
•
critical:
Logs only those events indicating a serious error has occurred that is causing the system tor a
system component to cease functioning. This is the highest severity level.
•
error:
Logs events that indicate an error has occurred that is causing the system or a system component
to operate in a degraded state. This level also logs events with a higher severity level.
•
warning:
Logs events that may indicate a potential problem. This level also logs events with a higher
severity level.
•
unusual:
Logs events that are very unusual and may need to be investigated. This level also logs events
with a higher severity level.
•
info:
Logs informational events and events with a higher severity level.
•
trace:
Logs events useful for tracing and events with a higher severity level.
•
debug:
Logs all events regardless of the severity.
Each of the above levels correspond to the "severity" level of the event ID. Therefore, only those event IDs
with a "severity" level equal to the logging level are displayed.
Understanding Event ID Information in Logged Output
This section explains the event information that is displayed when logging is enabled.
The following displays a sample output for an event that was logged.
2011-Dec-11+5:18:41.993 [cli 30005 info] [8/0/609 cli:8000609 _commands_cli.c:1290] [software
internal system] CLI session ended for Security Administrator admin on device /dev/pts/2
The following table describes the elements of contained in the sample output.
Table 8: Event Element Descriptions
Description
Element
Date/Timestamp indicating when the event was generated
2011-Dec-11+5:18:41.993
Information about the event including:
•
The facility the event belongs to
•
The event ID
•
The event's severity level
In this example, the event belongs to the CLI facility, has an
ID of 3005, and a severity level of "info".
[cli 30005 info]
Information about the specific CLI instance.
[8/0/609 cli:8000609 _commands_cli.c:1290]
ASR 5500 System Administration Guide, StarOS Release 21.5
157
System Logs
Event Severities