Chapter 42
Monitoring the Security Appliance
•
•
Changing the Severity Level of a System Log Message
•
•
•
•
•
The series of commands in the following example illustrates the use of the logging message command
to control both whether a system log message is enabled and the severity level of the system log message.
hostname(config)# show logging message 403503
syslog 403503: default-level errors (enabled)
hostname(config)# logging message 403503 level 1
hostname(config)# show logging message 403503
syslog 403503: default-level errors, current-level alerts (enabled)
hostname(config)# no logging message 403503
hostname(config)# show logging message 403503
syslog 403503: default-level errors, current-level alerts (disabled)
hostname(config)# logging message 403503
hostname(config)# show logging message 403503
syslog 403503: default-level errors, current-level alerts (enabled)
OL-10088-01
For example:
hostname(config)# logging message 113019
To see a list of disabled system log messages, enter the following command:
hostname(config)# show logging message
To reenable logging of all disabled system log messages, enter the following command:
hostname(config)# clear config logging disabled
To specify the logging level of a system log message, enter the following command:
hostname(config)# logging message message_ID level severity_level
The following example modifies the severity level of system log message ID 113019 from 4
(warnings) to 5 (notifications):
hostname(config)# logging message 113019 level 5
To reset the logging level of a system log message to its default level, enter the following command.
hostname(config)# no logging message message_ID level current_severity_level
The following example modifies the severity level of system log message ID 113019 to its default
value of 4 (warnings).
hostname(config)# no logging message 113019 level 5
To see the severity level of a specific message, enter the following command:
hostname(config)# show logging message message_ID
To see a list of system log messages with modified severity levels, enter the following command:
hostname(config)# show logging message
To reset the severity level of all modified system log messages back to their defaults, enter the
following command:
hostname(config)# clear configure logging level
Cisco Security Appliance Command Line Configuration Guide
Configuring and Managing Logs
42-21