File (System Logging) - Juniper JUNOS OS 10.3 - SOFTWARE Manual

For ex series ethernet switches
Hide thumbs Also See for JUNOS OS 10.3 - SOFTWARE:
Table of Contents

Advertisement

Complete Software Guide for Junos

file (System Logging)

Syntax
Hierarchy Level
Release Information
Description
Options
Required Privilege
Level
Related
Documentation
684
®
OS for EX Series Ethernet Switches, Release 10.3
file filename {
facility severity;
archive {
files number;
size size;
(no-world-readable | world-readable);
}
explicit-priority;
match "regular-expression";
structured-data {
brief;
}
}
[edit system syslog]
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Configure the logging of system messages to a file.
—Class of messages to log. To specify multiple classes, include multiple
facility
facility severity
statements. For a list of the facilities, see JUNOS System Logging
Facilities and Message Severity Levels.
—File in the
file filename
/var/log
facility. To log messages to more than one file, include more than one
—Severity of the messages that belong to the facility specified by the paired
severity
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.
The remaining statements are explained separately.
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Directing System Log Messages to a Log File
Junos System Log Messages Reference
directory in which to log messages from the specified
Copyright © 2010, Juniper Networks, Inc.
file
statement.

Advertisement

Table of Contents
loading

Table of Contents