Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

file (QFabric System)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
file filename {
    archive {
        size maximum-file-size;
    }
    explicit-priority;
    facility severity;
    match "regular-expression";
    structured-data {
        brief;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit system syslog]

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.

filename

Filename that you specify with the show log command.

  • Default: Filename messages

severity

Severity of the messages that belong to the facility specified by the paired facility name. Messages with severities at the specified level and higher are logged.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

system—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 11.3.

footer-navigation