52-4
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 52 Configuring System Message Logging
Configuring System Message Logging
Disabling Message Logging
Message logging is enabled by default. It must be enabled to send messages to any destination other than
the console. When enabled, log messages are sent to a logging process, which logs messages to
designated locations asynchronously to the processes that generated the messages.
To disable message logging, perform this task:
Disabling the logging process can slow down the switch because a process must wait until the messages
are written to the console before continuing. When the logging process is disabled, messages are
displayed on the console as soon as they are produced, often appearing in the middle of command output.
The logging synchronous global configuration command also affects the display of messages to the
console. When this command is enabled, messages appear only after you press Return. For more
information, see the “Synchronizing Log Messages” section on page 52-6.
To reenable message logging after it has been disabled, use the logging on global configuration
command.
Synchronous logging Disabled.
Logging server Disabled.
Syslog server IP address None configured.
Server facility Local7 (see Table 52-4 on page 52-12).
Server severity Informational (and numerically lower levels; see
Table 52-3 on page 52-9).
Table 52-2 Default System Message Logging Configuration (continued)
Feature Default Setting
Command Purpose
Step 1 Switch# configure terminal Enters global configuration mode.
Step 2 Switch(config)# no logging on Disables message logging.
Step 3 Switch(config)# end Returns to privileged EXEC mode.
Step 4 Switch# show running-config
or
show logging
Verifies your entries.
Step 5 Switch# copy running-config
startup-config (Optional) Saves your entries in the configuration file.