archive-size
To specify the amount of space allotted for syslogs on a device, use the archive-size command in logging
archive configuration mode. To return to the default, use the no form of this command.
archive-size size
no archive-size
Syntax Description
Amount of space (in MB) allotted for syslogs. The range is 0 to 2047.
size
Command Default
size: 20 MB
Command Modes
Logging archive configuration
Command History
ModificationRelease
This command was introduced.Release 3.2
Usage Guidelines
Use the archive-length command to specify the maximum total size of the syslog archives on a storage device.
If the size is exceeded, then the oldest file in the archive is deleted to make space for new logs.
Task ID
OperationsTask ID
read, writelogging
Examples
This example shows how to set the allotted space for syslogs to 50 MB:
RP/0/0/CPU0:router(config)# logging archive
RP/0/0/CPU0:router(config-logging-arch)# archive-size 50
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
302 OL-24735-01
Logging Services Commands
archive-size