392 Syslog Commands
Example
The following example limits syslog messages sent to the logging file based on the 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.
Example
The following example clears messages from the logging file.
aaa logging
The aaa logging Global Configuration mode command controls logging of AAA events. To disable
logging use the no form of the command.
Syntax
• aaa logging
login
• no aaa logging
login
• login — Log messages related to successful login events, unsuccessful login events and other login
related events.
Default Configuration
The
logging of AAA events is e
nabled.
Console (config)# logging file alerts
Console# clear logging file
Clear Logging File [y/n]y
5400_CLI.book Page 392 Wednesday, December 17, 2008 4:33 PM