Disabling Message Logging - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Configuring System Message Logging
Table 58-2
Feature
Synchronous logging
Logging server
Syslog server IP address
Server facility
Server severity

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:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# no logging on
Step 3
Switch(config)# end
Step 4
Switch# show running-config
or
show logging
Step 5
Switch# copy running-config
startup-config
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
To reenable message logging after it has been disabled, use the logging on global configuration
command.
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
58-4
Default System Message Logging Configuration (continued)
"Synchronizing Log Messages" section on page
Chapter 58
Default Setting
Disabled.
Disabled.
None configured.
Local7 (see
Table 58-4 on page
Informational (and numerically lower levels; see
Table 58-3 on page
Purpose
Enters global configuration mode.
Disables message logging.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
Configuring System Message Logging
58-12).
58-9).
58-6.
OL-25340-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents