logging syslog-facility local

Configures the syslog facility.

Syntax

logging syslog-facility local log_level

Command Default

Syslog level is LOG_LOCAL7.

Parameters

log_level
Specifies the syslog facility level. Valid log levels include the following: LOG_LOCAL0, LOG_LOCAL1, LOG_LOCAL2, LOG_LOCAL3, LOG_LOCAL4, LOG_LOCAL5, LOG_LOCAL6, LOG_LOCAL7

Modes

Global configuration mode

Usage Guidelines

Use this command to configure the log level for all error log entries to forward to one or more specified syslog servers. You can configure up to four syslog servers.

Examples

To configure the syslog facility level:

device# configure terminal
device(config)# logging syslog-facility local LOG_LOCAL5