Syslog Commands 1571
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 globally enables the sending of logging
messages to the currently configured locations. To disable the sending of log
messages, use the no form of this command.
Syntax
logging on
no logging on
Default Configuration
Logging is enabled.
Command Mode
Global Configuration mode
User Guidelines
The logging process controls the distribution of logging messages to the
various destinations, such as the logging buffer, logging file, or syslog server.
Logging on and off for these destinations can be individually configured using
the logging buffered, logging file, and logging
server
global configuration
2CSPC4.XCT-SWUM2XX1.book Page 1571 Monday, October 3, 2011 11:05 AM