[an error occurred while processing this directive][an error occurred while processing this directive]

user (System Logging)

Syntax

user (username | *) {facility severity;match "regular-expression";}

Hierarchy Level

[edit system syslog]

Release Information

Statement introduced before JUNOS Release 7.4.

Statement introduced in JUNOS Release 9.0 for EX Series switches.

Description

Configure the logging of system messages to user terminals.

Options

* (the asterisk)—Log messages to the terminal sessions of all users who are currently logged in.

facility—Class of messages to log. To specify multiple classes, include multiple facility severity statements. For a list of the facilities, see JUNOS System Logging Facilities and Message Severity Levels.

severity—Severity of the messages that belong to the facility specified by the paired facility name. Messages with severities the specified level and higher are logged. For a list of the severities, see JUNOS System Logging Facilities and Message Severity Levels.

username—JUNOS login name of the user whose terminal session is to receive system log messages. To log messages to more than one user’s terminal session, include more than one user statement.

The remaining statement is explained separately.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.


Published: 2010-04-26

[an error occurred while processing this directive]