4-7
Cisco Content Services Switch Administration Guide
OL-5647-02
Chapter 4 Using the CSS Logging Features
Configuring Logging for a Subsystem
To send the logging output directly to the log file, enter:
(config)#
no logging buffer
Configuring Logging for a Subsystem
This section describes how to select a CSS subsystem and log activity for the
subsystem. This section includes the following topics:
•
Enabling and Disabling Logging for a Subsystem
•
Configuring a Log Message for a Subsystem at a Logging Level
•
Logging ACL Activity
•
Sending Log Messages to an E-Mail Address
Enabling and Disabling Logging for a Subsystem
By default, the logging levels for all CSS subsystems is set at warning-4. The level
you specify instructs the CSS to log subsystem activity that occurs at that level
and the activity greater than that level. For example, if you wish to log
informational messages (info-6), the CSS also logs notice, warning, error, critical,
alert, and fatal error levels.
Use the
logging subsystem
command to select a CSS subsystem and determine
which type of activity to log.
To reset logging for a subsystem to the default logging level (warning-4), enter
the
no
version of the logging command. For example:
(config)#
no logging subsystem redundancy
The following example enables logging for the chassis subsystem with a critical-2
error level. The CSS logs all critical, alert, and fatal errors for the chassis.
(config)#
logging subsystem chassis level critical-2