42-22
Cisco Security Appliance Command Line Configuration Guide
OL-12172-03
Chapter 42 Monitoring the Security Appliance
Configuring and Managing Logs
Changing the Severity Level of a System Log Message
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
The following example shows 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)
hostname(config)#
no logging message 403503 level 3
hostname(config)#
show logging message 403503
syslog 403503: default-level errors (enabled)
Содержание 500 Series
Страница 38: ...Contents xxxviii Cisco Security Appliance Command Line Configuration Guide OL 12172 03 ...
Страница 45: ...P A R T 1 Getting Started and General Information ...
Страница 46: ......
Страница 277: ...P A R T 2 Configuring the Firewall ...
Страница 278: ......
Страница 354: ...17 38 Cisco Security Appliance Command Line Configuration Guide OL 12172 03 Chapter 17 Configuring NAT NAT Examples ...
Страница 561: ...P A R T 3 Configuring VPN ...
Страница 562: ......
Страница 891: ...P A R T 4 System Administration ...
Страница 892: ......
Страница 975: ...P A R T 5 Reference ...
Страница 976: ......