logging history size
To change the number of system logging (syslog) messages that can be stored in the history table, use the
logging history size command in global configuration mode. To remove the logging history size command
from the configuration and return the number of messages to the default value, use the no form of this command.
logging history size number
no logging history number
Syntax Description
Number from 1 to 500 indicating the maximum number of messages that can be stored
in the history table. The default is 1 message.
number
Command Default
number: 1 message
Command Modes
Global configuration
Command History
ModificationRelease
This command was introduced.Release 3.2
Usage Guidelines
Use the logging history size command to change the number of messages that can be stored in this history
table. When the history table is full (that is, when it contains the maximum number of messages specified
with the command), the oldest message is deleted from the table to allow the new message to be stored.
Use the logging history, on page 325 command to change the severity level of syslog messages stored in the
history file and sent to the SNMP server.
Task ID
OperationsTask ID
read, writelogging
Examples
This example shows how to set the number of messages stored in the history table to 20:
RP/0/0/CPU0:router(config)# logging history size 20
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
OL-24735-01 327
Logging Services Commands
logging history size