Name

logging synchronous — line

Synopsis

logging synchronous [level severity | all] [limit number-of-messages]
no logging synchronous

Configures

Display of log messages

Default

Disabled; when enabled, default severity level is 2 and buffer message limit is 20

Description

This command controls the printing of log messages to a user’s terminal. By default, messages are printed at any time, possibly disrupting the user’s current command. This command tells the router to wait until the user’s current command and its output are completed before displaying any logging messages.

level severity

The severity level that this command affects. All messages with a severity at or below (i.e., with a higher number than) the given level are sent synchronously (i.e., after waiting for the user to complete the current command and the router to generate the requested output).

all

Equivalent to level emergencies; all messages are sent synchronously.

limit number-of-messages

Specifies the number of messages that will be queued waiting for delivery.

Example

The following commands specify that on terminal lines 0 through 8, log messages at levels 6 and 7 (informational and debugging) will be delivered synchronously.

line 0 8
  logging synchronous level 6

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.