file-size
To specify the maximum file size for a log file in the archive, use the file-size command in logging archive
configuration mode. To return to the default, use the no form of this command.
file-size size
no file-size
Syntax Description
Maximum file size (in MB) for a log file in the logging archive. The range is 1 to 2047.
size
Command Default
size: 1 MB
Command Modes
Logging archive configuration
Command History
ModificationRelease
This command was introduced.Release 3.2
Usage Guidelines
Use the file-size command to specify the maximum file size that a single log file in the archive can grow to.
Once this limit is reached, a new file is automatically created with an increasing serial number.
Task ID
OperationsTask ID
read, writelogging
Examples
This example shows how to set the maximum log file size to 10 MB:
RP/0/0/CPU0:router(config)# logging archive
RP/0/0/CPU0:router(config-logging-arch)# file-size 10
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
306 OL-24735-01
Logging Services Commands
file-size