77-9
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter77 Configuring Logging
Configuring Logging
Sending Syslog Messages to the Internal Log Buffer
To send syslog messages to the internal log buffer, perform the following steps:
Command Purpose
Step1 logging buffered {severity_level | message_list}
Example:
hostname(config)# logging buffered critical
hostname(config)# logging buffered level 2
hostname(config)# logging buffered notif-list
Specifies which syslog messages should be sent to
the internal log buffer, which serves as a temporary
storage location. New messages are appended to the
end of the list. When the buffer is full, that is, when
the buffer wraps, old messages are overwritten as new
messages are generated, unless you configure the
ASA to save the full buffer to another location. To
empty the internal log buffer, enter the clear logging
buffer command.
Step2 logging buffer-size bytes
Example:
hostname(config)# logging buffer-size 16384
Changes the size of the internal log buffer. The buffer
size is 4 KB.
Step3 Choose one of the following options:
logging flash-bufferwrap
Example:
hostname(config)# logging flash-bufferwrap
When saving the buffer content to another location,
the ASA create log files with names that use the
following time-stamp format:
LOG-YYYY-MM-DD-HHMMSS.TXT
where YYYY is the year, MM is the month, DD is the
day of the month, and HHMMSS is the time in hours,
minutes, and seconds.
The ASA continues to save new messages to the
internal log buffer and saves the full log buffer
content to the internal flash memory.
logging ftp-bufferwrap
Example:
hostname(config)# logging ftp-bufferwrap
When saving the buffer content to another location,
the ASA creates log files with names that use the
following time-stamp format:
LOG-YYYY-MM-DD-HHMMSS.TXT
where YYYY is the year, MM is the month, DD is the
day of the month, and HHMMSS is the time in hours,
minutes, and seconds.
The ASA continues saving new messages to the
internal log buffer and saves the full log buffer
content to an FTP server.