file (Next Gen Services Global System Logging)
Syntax
file <filename> <files files> <match match> <size size> <(world-readable | no-world-readable)>;
Hierarchy Level
[edit services rtlog traceoptions]
Description
Enabling tracing can adversely impact scale and performance and may increase security risk. We strongly recommend using the trace, tracing, or traceoptions commands only under the guidance of a JTAC support engineer. After collecting the debug information, immediately disable tracing to minimize risk and restore normal system performance.
Trace file information
Options
| filename | Name of file in which to write trace information |
| files | Maximum number of trace files
|
| 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
|
| 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.