Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Technical Documentation
 
CLI Explorer New
 
Content Explorer New
 
Documentation Help New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
Glossary
 
Portable Libraries
 
Home > Support > Technical Documentation > Junos OS > file (System Logging)
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • M Series
  • Directing System Log Messages to a Log File
  • MX Series
  • Directing System Log Messages to a Log File
  • PTX Series
  • Directing System Log Messages to a Log File
  • QFX Series
  • Directing System Log Messages to a Log File
  • T Series
  • Directing System Log Messages to a Log File
 

file (System Logging)

Syntax

file filename {facility severity;archive {files number;size size;(no-world-readable | world-readable);}explicit-priority;match "regular-expression";structured-data {brief;}}

Hierarchy Level

[edit system syslog]

Release Information

Statement introduced before Junos OS Release 7.4.

Statement introduced in Junos OS Release 9.0 for EX Series switches.

Statement introduced in Junos OS Release 11.1 for the QFX Series.

Description

Configure the logging of system messages to a file.

Options

facility—Class of messages to log. To specify multiple classes, include multiple facility severity statements. For a list of the facilities, see Junos OS System Logging Facilities and Message Severity Levels.

file filename—File in the severity directory in which to log messages from the specified facility. To log messages to more than one file, include more than one file statement.

severity—Severity of the messages that belong to the facility specified by the paired facility name. Messages with severities of the specified level and higher are logged. For a list of the severities, see Junos OS System Logging Facilities and Message Severity Levels.

The remaining statements are explained separately.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

 

Related Documentation

  • M Series
  • Directing System Log Messages to a Log File
  • MX Series
  • Directing System Log Messages to a Log File
  • PTX Series
  • Directing System Log Messages to a Log File
  • QFX Series
  • Directing System Log Messages to a Log File
  • T Series
  • Directing System Log Messages to a Log File
 

Published: 2013-03-13

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2013 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out