O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required