file (Security Log)
Syntax
file { files max-file-number; name file-name; path binary-log-file-path; size maximum-file-size; }
Hierarchy Level
[edit security log] [edit logical-systems name security log] [edit tenants tenant-name security log] [edit security log mode event] [edit security log mode stream] [edit security log mode stream-event]
Description
Configure security log file options for logs in binary format.
Options
files number
—Specify the maximum number of binary log files.
Range: 2 through 10 files.
name name
—Name of the file to log messages.path filepath
—Specify the path of the binary log file.size maximum-file-size
—Maximum size of each trace file, in megabytes (MB).
Range: 1 KB through 10 MB
Required Privilege Level
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.
Release Information
Statement modified in Junos OS Release 9.2.
The [edit logical-systems
name security log] and [edit tenants
tenant-name security log] hierarchy levels introduced in Junos OS Release 19.1R1.