PurposeCommand or Action
Enables synchronous logging of messages.logging synchronous [level [severity-level |
all] | limit number-of-buffers]
Step 3
• (Optional) level severity-level—Specifies
the message severity level. Messages with
Example:
a severity level equal to or higher than this
Device(config)# logging synchronous level
value are printed asynchronously. Low
3 limit 1000
numbers mean greater severity and high
numbers mean lesser severity. The default
is 2.
• (Optional) level all—Specifies that all
messages are printed asynchronously
regardless of the severity level.
• (Optional) limit
number-of-buffers—Specifies the number
of buffers to be queued for the terminal
after which new messages are dropped.
The range is 0 to 2147483647. The default
is 20.
Returns to privileged EXEC mode.end
Example:
Step 4
Device(config)# end
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.
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.
To reenable message logging after it has been disabled, use the logging on global configuration command.
This task is optional.
Procedure
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Step 1
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
264
Configuring System Message Logs
Disabling Message Logging