Syslog Commands
78-21075-01 Command Line Interface Reference Guide
20.1
logging on
Use the logging on Global Configuration mode command to control error message
logging. This command sends debug or error messages asynchronously to
designated locations. Use the no form of this command to disable the logging.
Syntax
logging on
no logging on
Parameters
N/A
Default Configuration
Message logging is enabled.
Command Mode
Global Configuration mode
User Guidelines
The logging process controls the logging messages distribution at various
destinations, such as the logging buffer, logging file or SYSLOG server. Logging on
and off at these destinations can be individually configured using the
buffered,
logging
file, and
However, if the
logging on
destinations. Only the console receives messages.
Example
The following example enables logging error messages.
switchxxxxxx(config)#
logging on
Global Configuration mode commands.
command is disabled, no messages are sent to these
logging on
20
logging
288