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
severity–level-number
logging file [
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.
1658
Syslog Commands
type
|
]