A SERVICE OF

logo

Syslog Commands 1269
Syntax
logging file
level
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
level
is
error.
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.