Disabling Message Logging - Cisco WS-C2960-24LC-S Software Configuration Manual

Software guide
Table of Contents

Advertisement

Configuring System Message Logging
Table 25-2
Feature
Time stamps
Synchronous logging
Logging server
Syslog server IP address
Configuration change logger
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.
Beginning in privileged EXEC mode, follow these steps to disable message logging. This procedure is
optional.
Command
Step 1
configure terminal
Step 2
no logging console
Step 3
end
Step 4
show running-config
or
show logging
Step 5
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 appear 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 re-enable message logging after it has been disabled, use the logging on global configuration
command.
Catalyst 2960 Switch Software Configuration Guide
25-4
Default System Message Logging Configuration (continued)
Purpose
Enter global configuration mode.
Disable message logging.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
"Synchronizing Log Messages" section on page
Chapter 25
Configuring System Message Logging
Default Setting
Disabled.
Disabled.
Disabled.
None configured.
Disabled
Local7 (see
Table 25-4 on page
Informational (and numerically lower levels; see
Table 25-3 on page
25-9).
25-6.
25-13).
OL-8603-04

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c2960s-24td-lWs-c2960s-48lpd-lCatalyst 2960

Table of Contents