3com 3CRUS2475 Manuale Utente
406
C
HAPTER
28: S
YSLOG
C
OMMANDS
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.
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 and debugging.
logging file. Possible values are: 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.
based on severity level alerts.
clear logging file
The clear logging file Privileged EXEC mode command clears messages
from the logging file.
from the logging file.
Syntax
clear logging file
Default Configuration
This command has no default configuration.
Console(config)# logging file alerts