logging facility
To configure the type of syslog facility in which system logging (syslog) messages are sent to syslog servers,
use the
logging facility
command in global configuration mode. To remove the
logging facility
command
from the configuration file and disable the logging of messages to any facility type, use the
no
form of this
command.
logging facility
[
type
]
no logging facility
Syntax Description
(Optional) Syslog facility type. The default is
local7
. Possible values are listed under
30: Facility Type Descriptions , on page 322
in the
“
Usage Guidelines
”
section.
type
Command Default
type
:
local7
Command Modes
Global configuration
Command History
Modification
Release
This command was introduced.
Release 3.2
Usage Guidelines
This table describes the acceptable options for the
type
argument.
Table 30: Facility Type Descriptions
Description
Facility Type
Authorization system
auth
Cron/at facility
cron
System daemon
daemon
Kernel
kern
Reserved for locally defined messages
local0
Reserved for locally defined messages
local1
Reserved for locally defined messages
local2
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
322
OL-24735-01
Logging Services Commands
logging facility