Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Directing System Log Messages to a User Terminal

To direct system log messages to the terminal session of one or more specific users (or all users) when they are logged in to the local Routing Engine, include the user statement at the [edit system syslog] hierarchy level:

[edit system syslog]
user (username | *) {facility severity;match "regular-expression";}

Specify one or more Junos OS usernames, separating multiple values with spaces, or use the asterisk (*) to indicate all users who are logged in to the local Routing Engine.

For the list of logging facilities and severity levels, see Specifying the Facility and Severity of Messages to Include in the Log. For information about the match statement, see Using Regular Expressions to Refine the Set of Logged Messages.

Published: 2013-01-16