This chapter provides general information about the log events described in this guide.
For more information about event logs, see the 7450 ESS, 7750 SR, 7950 XRS, and VSR System Management Guide.
Log events that are forwarded to a destination are formatted in a way appropriate for the specific destination whether it be recorded to a file or sent as an SNMP trap, but log events have common elements or properties. All application generated events have the following properties:
The general format for a log event with either a memory, console or file destination is as follows.
The following is a log event example:
The specific elements that compose the general format are described in Table 1.
Label | Description |
nnnn | The log entry sequence number. |
YYYY/MM/DD | The UTC or local date stamp for the log entry. YYYY — Year MM — Month DD — Date |
HH:MM:SS.SS | The UTC time stamp for the event. HH — Hours (24 hour format) MM — Minutes SS.SS — Seconds |
TZONE | The timezone (for example, UTC, EDT) as configured by configure log log-id x time-format. |
<severity> | The severity level of the event.
|
<application> | The name of the application generating the log message. |
<event_id> | The application’s event ID number for the event. |
<router> | The router name representing the VRF-ID that generated the event. Some examples include: Base, management, and vprn348. |
<subject> | The subject/affected object for the event. |
<message> | A text description of the event. |
Table 2 contains a sample log event entry from this guide for the cli_config_io log event.
Property name | Value |
Application name | USER |
Event ID | 2011 |
Event name | cli_config_io |
SNMP notification prefix and OID | N/A |
Default severity | minor |
Message format string | User from $srcAddr$: $prompt$ $message$ |
Cause | A CLI command was entered in a configuration node. |
Effect | The configuration was changed by the CLI command. |
Recovery | No recovery is required. |
The table title for a log event entry is the event name. Each entry contains the information described in Table 3.
Label | Description |
Application name | The name of the application generating the log message. |
Event id | The application’s event ID number for the event. |
Event name | The name of the event. |
SNMP notification prefix and OID | The prefix and OID of the SNMP notification associated with the log event |
Default severity | The default severity level of the event.
|
Message format string | A text description of the event. |
Cause | The cause of the event. |
Effect | The effect of the event. |
Recovery | How to recover from this event, if necessary. |