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

System log messages reference
Table of Contents

Advertisement

Junos 10.3 System Log Messages Reference
Including Priority Information in System Log Messages
18
specifies the maximum size of each file. The value can be from 64 KB (
size size
through 1 gigabyte (
); to represent megabytes, use the letter m after the integer. There
1g
is no space between the digits and the
enables all users to read log files. To restore the default permissions,
world-readable
include the
no-world-readable
A message's facility and severity level are together referred to as its priority. By default,
messages logged in the standard Junos format do not include information about priority.
To include priority information in standard-format messages directed to a file, include
the
statement at the [
explicit-priority
[edit system syslog file filename]
facility severity;
explicit-priority;
NOTE: Messages logged in structured-data format include priority information by
default (structured-data format is available in Junos OS Release 8.3 and later and for
file destinations only). If you include the
syslog file filename
] hierarchy level along with the
statement is ignored and messages are logged in structured-data format.
explicit-priority
For information about the
Structured-Data Format" on page 11. For information about the contents of a
structured-data message, see "Displaying a Log File from a Single-Chassis System" on
page 35.
To include priority information in messages directed to a remote machine or the other
Routing Engine, include the
(hostname | other-routing-engine)
[edit system syslog host (hostname | other-routing-engine)]
facility severity;
explicit-priority;
The priority recorded in a message always indicates the original, local facility name. If
the
statement is included for messages directed to a remote destination,
facility-override
the Junos system logging utility still uses the alternative facility for the messages
themselves when directing them to the remote destination. For more information about
alternative facilities, see "Changing the Alternative Facility Name for Remote Messages"
on page 13.
When the
statement is included, the Junos logging utility prepends codes
explicit-priority
for the facility name and severity level to the message tag name, if the message has one:
FACILITY-severity[-TAG]
(The tag is a unique identifier assigned to some Junos system log messages; for more
information, see "Interpreting Messages Generated in Structured-Data Format" on page 36,
"Interpreting Messages Generated in Standard Format by Services on a PIC" on page 41,
k
,
m
, or
g
units letter.
statement.
edit system syslog file filename
structured-data
explicit-priority
structured-data
statement, see "Logging Messages in
explicit-priority
statement at the [
] hierarchy level:
64k
] hierarchy level:
statement at the [
edit system
statement, the
edit system syslog host
Copyright © 2010, Juniper Networks, Inc.
)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.3 - software

Table of Contents