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

System log messages reference
Table of Contents

Advertisement

Minimum System Logging Configuration
Default System Log Settings
Copyright © 2010, Juniper Networks, Inc.
To record or view system log messages, you must include the
[
edit system
] hierarchy level. Specify at least one destination for the messages, as
described in Table 3 on page 5.
Table 3: Minimum Configuration Statements for System Logging
Destination
File
Terminal session of one, several, or all users
Routing platform console
Remote machine or the other Routing Engine
on the routing platform
Table 4 on page 5 summarizes the default system log settings that apply to all platforms
that run the Junos OS, and specifies which statement to include in the configuration to
override the default value.
Table 4: Default System Logging Settings
Setting
Default
Alternative facility for
For
message forwarded
For
to a remote machine
For
For
For
interactive-commands
local7
For
Format of messages
Standard Junos
logged to a file
format, based on
UNIX format
Chapter 1: Configuring System Log Messages
Minimum Configuration Statements
[edit system syslog]
file filename {
facility severity ;
}
[edit system syslog]
user (username | *) {
facility severity ;
}
[edit system syslog]
console {
facility severity ;
}
[edit system syslog]
host (hostname | other-routing-engine) {
facility severity ;
}
Overriding Statement
:
[edit system syslog]
change-log
local6
host hostname {
:
conflict-log
local5
facility-override
facility;
dfc
:
local1
}
:
firewall
local3
:
pfe
:
local4
[edit system syslog]
file filename {
structured-data;
}
statement at the
syslog
Instructions
"Changing the
Alternative
Facility Name
for Remote
Messages" on
page 13
"Logging
Messages in
Structured-Data
Format" on
page 11
5

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the JUNOS OS 10.3 - SYSTEM LOG MESSAGES REFERENCE 7-12-2010 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Junos os 10.3 - software

Table of Contents

Save PDF