frequency (logging)
To specify the collection period for logs, use the
frequency
command in logging archive configuration mode.
To return to the default, use the
no
form of this command.
frequency
{
daily| weekly
}
no frequency
Syntax Description
Logs are collected daily.
daily
Logs are collected weekly.
weekly
Command Default
Logs are collected daily.
Command Modes
Logging archive configuration
Command History
Modification
Release
This command was introduced.
Release 3.2
Usage Guidelines
Use the
frequency
command to specify if logs are collected daily or weekly.
Task ID
Operations
Task ID
read, write
logging
Examples
This example shows how to specify that logs are collected weekly instead of daily:
RP/0/0/CPU0:router(config)#
logging archive
RP/0/0/CPU0:router(config-logging-arch)#
frequency weekly
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01
307
Logging Services Commands
frequency (logging)