Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents

file (Next Gen Services Global System Logging)

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
file <filename> <files files> <match match> <size size> <(world-readable | no-world-readable)>;

Hierarchy Level

content_copy zoom_out_map
[edit services rtlog traceoptions]

Description

Trace file information

Options

filename

Name of file in which to write trace information

files

Maximum number of trace files

  • Default: 3

  • Range: 2 through 1000

match

Regular expression for lines to be logged

no-world-readable

Don't allow any user to read the log file

size

Maximum trace file size

  • Default: 128k

  • Range: through

world-readable

Allow any user to read the log file

All other options are explained separately.

Required Privilege Level

system

Release Information

Statement introduced in Junos OS Release 19.3R2.

footer-navigation