logging file
Use the logging file command in Global Configuration mode to limit syslog messages sent to
the logging file based on severity. To cancel the buffer, use the no form of this command.
Syntax
logging file
no logging file
level — Limits the logging of messages to the buffer to a specified level. (Range: emergency,
•
alert, critical, error, warning, notice, info, debug)
Default Configuration
The default value for
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example limits syslog messages sent to the logging file based on the severity level
"warning."
console(config)#logging file warning
logging on
Use the logging on command in Global Configuration mode to control error messages logging.
This command sends debug or error messages to a logging process, which logs messages to
designated locations asynchronously to the process that generated the messages. To disable the
logging process, use the no form of this command.
Syntax
logging on
no logging on
Default Configuration
Logging is enabled.
1078
level
level
is error.