CLI Reference Guide

1658 Syslog Commands
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.
Syntax
logging file [
severitylevel-number
|
type
]
no logging file
severity–level
—(Optional) The number or name of the desired severity
level. Range:
[0 | emergencies]
[1 | alerts]
[2 | critical]
[3 | errors]
[4 | warnings]
[5 | notifications]
[6 | informational]
[7 | debugging]
Default Configuration
The default severity level is
error.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
2CSNXXX_SWUM200.book Page 1658 Tuesday, December 10, 2013 1:22 PM