Administrator Guide

Switch Management Commands 2165
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 Configuration mode to
configure the facility to be used in log messages.
Syntax
logging facility
facility
no logging facility
facility
—The facility that will be indicated in the message. (Range: local0,
local1, local2, local3, local4, local5, local6, local7).
Default Configuration
The default value is local7.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example sets the logging facility as local3.
console(config)#logging facility local3
logging file
Use the logging file command in Global Configuration mode to limit syslog
messages sent to the logging file based on severity. To cancel the buffer, use
the no form of this command.
2CSNXXX_SWUM204.book Page 2165 Monday, January 25, 2016 1:25 PM