77-6
Cisco ASA 5500 Series Configuration Guide using the CLI
Chapter77 Configuring Logging
Configuring Logging
The ASA supports the configuration of 16 syslog servers with the logging host command in single
context mode. In multiple context mode, the limitation is 4 servers per context.
Configuring Logging
This section describes how to configure logging and includes the following topics:
Enabling Logging, page 77-6
Configuring an Output Destination, page77-6
Note The minimum configuration depends on what you want to do and what your requirements are for
handling syslog messages in the ASA.

Enabling Logging

To enable logging, enter the following command:
What to Do Next
See the “Configuring an Output Destination” section on page77-6.

Configuring an Output Destination

To optimize syslog message usage for troubleshooting and performance monitoring, we recommend that
you specify one or more locations where syslog messages should be sent, including an internal log
buffer, one or more external syslog servers, ASDM, an SNMP management station, the console port,
specified e-mail addresses, or Telnet and SSH sessions.
This section includes the following topics:
Sending Syslog Messages to an External Syslog Server, page77-8
Sending Syslog Messages to the Internal Log Buffer, page 77-9
Sending Syslog Messages to an E-mail Address, page 77-10
Sending Syslog Messages to ASDM, page 77-11
Sending Syslog Messages to the Console Port, page77-11
Sending Syslog Messages to an SNMP Server, page 77-11
Sending Syslog Messages to a Telnet or SSH Session, page 77-12
Creating a Custom Event List, page77-13
Command Purpose
logging enable
Example:
hostname(config)# logging enable
Enables logging. To disable logging, enter the no logging
enable command.