Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


file (Security Log)


Hierarchy Level


Configure security log file options for logs in binary format.


  • 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.