Syslog Commands 391
clear logging
The clear logging Privileged EXEC mode command clears messages from the internal logging buffer.
Syntax
• clear logging
Default Configuration
This command has no default configuration.
Command Mode
Privileged EXEC mode.
User Guidelines
• There are no user guidelines for this command.
Example
The following example clears messages from the internal syslog message logging buffer.
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 the buffer.
Syntax
•
logging file
level
• no logging file
•
level
— Limits the logging of messages to the buffer to a specified level:
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.
Console# clear logging
Clear logging buffer [y/n] y
5400_CLI.book Page 391 Wednesday, December 17, 2008 4:33 PM