Command Line Interface Guide

Syslog Commands 1697
Example
The following example limits messages logged to the console based on
severity level "alert".
console(config)#logging console alert
logging facility
Use the logging facility command in Global Config mode to configure the
facility to be used in log messages.
Syntax
logging facility <facility>
no logging facility
Parameter Description
Default Configuration
The default value is local7.
Command Mode
Global Config mode
User Guidelines
This command has no user guidelines.
Example
The following example sets the logging facility as local3.
console(config)#logging facility local3
Parameter Description
facility The facility that will be indicated in the message. (Range:
local0, local1, local2, local3, local4, local5, local6, local7).
2CSPC4.X8100-SWUM100.book Page 1697 Wednesday, August 29, 2012 6:23 PM