Name
logging history — global
Synopsis
logging history level
no logging history
Configures
The severity levels to be logged
Default
Warnings (4)
Description
This command sets the type of syslog messages that are entered into the syslog history table. These messages are also set to an SNMP management station, if one is configured; all messages at the given level or higher are logged.
Example
The following command logs messages with a severity of errors (3) or greater, i.e., critical (2), alerts (1), and emergencies (0):
logging history errors
Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.