Supported Platforms
Related Documentation
- EX, M, QFX, SRX, T Series
- files
- M, MX, PTX, QFX, T Series
- Specifying Log File Size, Number, and Archiving Properties
size
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Statement introduced in Junos OS Release 11.1 for the QFX Series.
Description
Configure the maximum amount of data that the Junos OS logging utility writes to a log file logfile before archiving it (closing it, compressing it, and changing its name to logfile.0.gz). The utility then opens and writes to a new file called logfile. For information about the number of archive files that the utility creates in this way, see files.
Options
size—Maximum size of each system log file, in kilobytes (KB), megabytes (MB), or gigabytes (GB).
Syntax: xk to specify the number of kilobytes, xm for the number of megabytes, or xg for the number of gigabytes
Range: 64 KB through 1 GB
Default: 1 MB for MX Series routers and the QFX Series
Required Privilege Level
system—To view this statement in the configuration.
system-control—To add this statement to the configuration.
Related Documentation
- EX, M, QFX, SRX, T Series
- files
- M, MX, PTX, QFX, T Series
- Specifying Log File Size, Number, and Archiving Properties
Published: 2014-05-07
Supported Platforms
Related Documentation
- EX, M, QFX, SRX, T Series
- files
- M, MX, PTX, QFX, T Series
- Specifying Log File Size, Number, and Archiving Properties