Cisco 11503 Administration Guide - Page 136
Specifying a Host for a Log File Destination
UPC - 746320664958
View all Cisco 11503 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 136 highlights
Specifying a Log File Destination Chapter 4 Using the CSS Logging Features Specifying a Host for a Log File Destination 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 Table 4-4 for a definition of the different logging levels. 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 "Configuring Logging for a Subsystem" section). If the log-level value is less than the 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" section). 4-16 Cisco Content Services Switch Administration Guide OL-5647-02