Log events overview
This section provides general information about the log events described in this guide for the Nokia Service Router Linux (SR Linux).
For more information about logging, see the SR Linux Configuration Basics Guide.
Example log event
The following contains an example log event entry from this guide for the bgpNeighborBackwardTransition log event.
Property name |
Value |
---|---|
Application name |
bgp |
Event name |
bgpNeighborBackwardTransition |
Default severity |
warning |
Message format string |
In network-instance $network-instance$, the BGP session with $peer-address$ moved from higher state $last-state$ to lower state $session-state$ due to event $last-event$ |
Cause |
No routes can be exchanged with this peer |
Effect |
N/A |
The table title for a log event entry is the event name. Each entry contains the information described in the table that follows.
Label |
Description |
---|---|
Application name |
Name of the application generating the log message |
Event name |
Name of the log event |
Default severity |
Severity level of the log event (see Log event entry field descriptions for the severity level) |
Message format string |
Text description of the log event |
Cause |
Cause of the log event |
Effect |
Effect of the log event |
Log event properties
Log events that are forwarded to a destination are formatted. All application-generated events have the following properties:
time stamp in UTC or local time
generating application
router name identifying the VRF-ID that generated the event
subject identifying the affected object
short message describing the event
A log event with a memory, console, or file destination has the following format:
nnnn YYYY/MM/DD HH:MM:SS.SS TZONE <severity>: <application> <router-name>
<subject>
<message>
Format properties are described in Log event entry field descriptions.
Label |
Description |
---|---|
nnnn |
Log event entry sequence number |
YYYY/MM/DD |
UTC or local date stamp for the log event entry: YYYY — Year MM — Month DD — Day |
HH:MM:SS.SS |
UTC time stamp for the event: HH — Hours (24-hour format) MM — Minutes SS.SS — Seconds.hundredths of a second |
TZONE |
Time zone (for example, UTC, EDT) |
<severity> |
Severity level of the log event: emerg — System is unusable alert — Action must be taken immediately crit — Critical conditions err — Error conditions warning — Warning conditions notice — Normal but significant condition info — Informational messages debug — Debug-level messages |
<application> |
Name of the application generating the log event message |
<router> |
Router name representing the VRF-ID that generated the log event |
<subject> |
Subject/affected object for the log event |
<message> |
Text description of the log event |