77-18
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter77 Configuring Logging
Configuring Logging
Including the Date and Time in Syslog Messages
To include the date and time in syslog messages, enter the following command:
Disabling a Syslog Message
To disable a specified syslog message, enter the following command:
Changing the Severity Level of a Syslog Message
To change the severity level of a syslog message, enter the following command:
Command Purpose
logging timestamp
hostname(config)# logging timestamp
Example:
hostname(config)# logging timestamp
LOG-2008-10-24-081856.TXT
Specifies that syslog messages should include the date and
time that they were generated. To remove the date and time
from syslog messages, enter the no logging timestamp
command.
Command Purpose
no logging message message_number
Example:
hostname(config)# no logging message 113019
Prevents the ASA from generating a particular syslog
message. To reenable a disabled syslog message, enter the
logging message message_number command (for example,
logging message 113019). To reenable logging of all disabled
syslog messages, enter the clear config logging disabled
command.
Command Purpose
logging message message_ID level severity_level
Example:
hostname(config)# logging message 113019 level 5
Specifies the severity level of a syslog message. To reset the
severity level of a syslog message to its setting, enter the no
logging message message_ID level current_severity_level
command (for example, no logging message 113019 level 5).
To reset the severity level of all modified syslog messages to
their settings, enter the clear configure logging level
command.