Example
The following example clears messages from the internal logging buffer.
Console# clear logging
Clear logging buffer [confirm]
Related Commands
logging
logging buffered
show logging
logging file
The logging file Global Configuration mode command limits syslog messages sent
to the logging file based on severity. To cancel using the buffer, use the no form of
this command.
Syntax
logging file level
no logging file
Parameters
• level — Specifies the severity level of syslog messages sent to the logging
file. Possible values are: emergencies, alerts, critical, errors, warnings,
notifications, informational, debugging.
Default Setting
The default severity level is errors.
Command Mode
Global Configuration mode
Command Usage
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.
Console(config)# logging file alerts
Related Commands
logging
clear logging file
show logging
Syslog Commands
607
4