406 Syslog Commands
logging file
The logging file Global Configuration mode command limits syslog messages sent to the logging file
based on severity. Use the no form of this command to cancel using the buffer..
Syntax
•
logging file
level
• no logging file
•
level
— Specifies the severity level of syslog messages sent to the logging file. Possible values:
emergencies, alerts
,
critical
,
errors, warnings
,
notifications, informational
and
debugging.
Default Configuration
The default severity level is errors.
Command Mode
Global Configuration mode.
User Guidelines
There are no user guidelines for this command.
Example
The following example limits syslog messages sent to the logging file based on severity level alerts.
clear logging file
The clear logging file Privileged EXEC mode command clears messages from the logging file.
Syntax
• clear logging file
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode.
User Guidelines
There are no user guidelines for this command.
Console(config)# logging file alerts
book.book Page 406 Thursday, December 18, 2008 7:40 PM