console (System Logging)
Syntax
console { facility severity; application-status (any | error); }
Hierarchy Level
[edit system syslog]
Description
Configure the logging of system messages to the system console. Log messages include priority information, which is information about log messages’ facility and severity levels.
Options
facility |
Class (type) of messages to log. To specify multiple classes, include
multiple |
|
severity |
Severity of the messages that belong to the facility specified by the
paired |
Note:
For a list of the facilities and message severities, see Junos OS System Logging Facilities. |
application-status (any | error) |
(Junos OS Evolved) Enable logging of application start or stop status. During system reboot, by default, the systemd process logs messages for applications to the journal log. By default, application stop and start status are written to the journal log. Only application stop and start errors are logged to the console. This configuration statement allows each application's stop and start
application status logs to be logged to the console. You configure the
|
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.
application-status
option introduced in Junos OS Evolved 23.1R1.