System Log Messages Overview

Junos OS generates system log messages to record events that occur on the device, including the following:

The Junos OS logging utility is similar to the UNIX syslogd utility. Each system log message identifies the software process that generated the message and briefly describes the operation or error that occurred.

Reboot requests are recorded to the system log files, which you can view with the show log command. Also, you can view the names of any processes running on your system with the show system processes command.

System Log Message Destinations

You can send system logging information to one or more destinations. The destinations can be one or more files, one or more remote hosts, the terminals of one or more users if they are logged in, and the system console.

Redundant System Log Server

Security system logging traffic intended for remote servers is sent through the network interface ports, which support two simultaneous system log destinations. Each system logging destination must be configured separately (see Setting the System to Stream Security Logs Through Revenue Ports). When two system log destination addresses are configured, identical logs are sent to both destinations. While two destinations can be configured on any device that supports the feature, adding a second destination is primarily useful as a redundant backup for standalone and active/backup configured chassis cluster deployments.

System Log Facilities and Severity Levels

When specifying the destination for system log messages, you can specify the class (facility) of messages to log and the minimum severity level (level) of the message for each location.

Each system log message belongs to a facility, which is a group of messages that are either generated by the same software process or concern a similar condition or activity.

Table 115 lists the system logging facilities, and Table 116 lists the system logging severity levels. For more information about system log messages, see the Junos System Log Messages Reference.

Table 115: System Logging Facilities

Facility

Description

any

Any facility

authorization

Any authorization attempt

change-log

Any change to the configuration

cron

Cron scheduling process

daemon

Various system processes

interactive-commands

Commands executed in the CLI

kernel

Messages generated by the Junos OS kernel

user

Messages from random user processes

Table 116: System Logging Severity Levels

Severity Level (from Highest to Lowest Severity)

Description

emergency

System panic or other conditions that cause the routing platform to stop functioning.

alert

Conditions that must be corrected immediately, such as a corrupted system database.

critical

Critical conditions, such as hard drive errors.

error

Standard error conditions that generally have less serious consequences than errors in the emergency, alert, and critical levels.

warning

Conditions that warrant monitoring.

notice

Conditions that are not error conditions but are of interest or might warrant special handling.

info

Informational messages. This is the default.

debug

Software debugging messages.

Control Plane and Data Plane Logs

Junos OS generates separate log messages to record events that occur on the system’s control and data planes.