Juniper JUNOS OS 10.3 - SYSTEM LOG MESSAGES REFERENCE 7-12-2010 Reference Manual page 95

System log messages reference
Table of Contents

Advertisement

Configuring Optional Features for Forwarded Messages
Copyright © 2010, Juniper Networks, Inc.
To configure additional optional features when specifying how the T640 routing nodes
forward messages to the TX Matrix platform, include statements at the [
syslog host scc-master
] hierarchy level. To include priority information (facility and severity
level) in each forwarded message, include the
string in each forwarded message, include the
expression matching to specify more exactly which messages from a facility are forwarded,
include the
match
statement.
[edit system syslog host scc-master]
facility severity;
explicit-priority;
log-prefix string;
match "regular-expression";
}
NOTE: You can also include the
] hierarchy level, but we do not recommend doing so. It is not necessary
host scc-master
to use alternative facilities for messages forwarded to the TX Matrix platform, because
it runs the Junos system logging utility and can interpret the Junos-specific facilities.
For more information about alternative facilities, see "Changing the Alternative Facility
Name for Remote Messages" on page 13.
1. Including Priority Information in Forwarded Messages on page 31
2. Adding a Text String to Forwarded Messages on page 32
3. Using Regular Expressions to Refine the Set of Forwarded Messages on page 32
Including Priority Information in Forwarded Messages
When you include the
explicit-priority
] hierarchy level, messages forwarded to the TX Matrix platform include priority
scc-master
information. For the information to appear in a log file on the TX Matrix platform, you
must also include the
explicit-priority
hierarchy level for the file on the TX Matrix platform. As a consequence, the log file with
the same name on each platform in the routing matrix also includes priority information
for locally generated messages.
To include priority information in messages directed to a remote machine from all
platforms in the routing matrix, also include the
system syslog host hostname
information, see "Directing Messages to a Remote Destination from the Routing Matrix"
on page 32.
In the following example, the
information for messages with severity
the TX Matrix platform also includes messages with those characteristics forwarded
from the T640 routing nodes.
Chapter 1: Configuring System Log Messages
explicit-priority
log-prefix
facility-override
statement at the [
statement at the [
statement at the [
explicit-priority
] hierarchy level for the remote machine. For more
file on all platforms includes priority
/var/log/messages
and higher from all facilities. The log on
notice
edit system
statement. To insert a text
statement. To use regular
edit system syslog
edit system syslog host
edit system syslog file filename
statement at the [
edit
]
31

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.3 - software

Table of Contents