Specifying a Log File Destination
Specifying a Host for a Log File Destination
Cisco Content Services Switch Administration Guide
4-16
To send CSS log information to a syslog daemon running on the host system, use
the logging host command. The syslog daemon receives and displays the CSS log
messages on the host system.
The syntax for this configuration mode command is:
logging host ip_or_host facility number log-level number
The options and variables for this command are as follows:
ip_or_host - Specifies the address of a syslog daemon on the host. Enter the
•
IP address in dotted-decimal notation (for example, 192.168.11.1) or the
mnemonic host name (for example, myhost.mydomain.com).
facility number - Specifies the syslog daemon facility level. Facilities are
•
considered service areas, such as printing, e-mail, or network. Enter a number
from 0 to 7. For more information on the syslog daemon and facility levels,
refer to your syslog daemon documentation.
log-level number - Specifies the level of the CSS subsystem log messages to
•
be sent to the syslog daemon on the host. The valid log levels for the CSS
include: fatal-0, alert-1, critical-2, error-3, warning-4 (default), notice-5,
info-6, debug-7. The logging levels are listed in order of severity, with a
fatal-0 level being the most severe error and an info-6 level being the least
severe error. Refer to
The logging host log-level number must be equal to or less than the log level
you configure for the logging subsystem command (see the
Logging for a Subsystem"
logging subsystem level, the CSS only sends the message level specified in
the log-level option. If the log-level is greater than the logging subsystem
level, the CSS only sends the level of messages specified in the logging
subsystem command.
The CSS continues to send log information to the sys.log file on the CSS disk
(hard or Flash disk) when the logging host command is entered. To disable
logging to the sys.log file on the CSS disk, use the logging to-disk disable
command (see the
"Disabling Logging to the sys.log File on the Disk"
Chapter 4
Table 4-4
for a definition of the different logging levels.
section). If the log-level value is less than the
Using the CSS Logging Features
"Configuring
section).
OL-5647-02