Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

syslog (System)

Syntax

Hierarchy Level

Description

Configure the types of system log messages to send to files, to a remote destination, to user terminals, or to the system console.

The remaining statements are explained separately.

Options

archive

Define parameters for archiving log messages. As of Junos OS 18.1R1, supports IPv6 addresses using dedicated management instance mgmt_junos.

console

Send log messages of a specified class and severity to the console.

file

Send log messages to a named file. As of Junos OS 18.1R1, supports IPv6 addresses using dedicated management instance mgmt_junos.

host

Remote location to be notified of specific log messages. As of Junos OS 18.1R1, supports IPv6 addresses using dedicated management instance mgmt_junos.

log-rotate-frequency

Configure the interval for checking logfile size and archiving messages.

server

Enable a syslog server for compute nodes and VMs in an App Engine.

source-address

Include a specified address as the source address for log messages. As of Junos OS 18.1R1, supports IPv6 addresses using dedicated management instance mgmt_junos.

time-format

Additional information to include in the system log time stamp.

user

Notify a specific user of the log event.

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.

IPv6 addresses using dedicated management instance mgmt_junos supported in Junos OS Release 18.1R1.