logging console

Enables the real-time display of syslog messages.

Syntax

logging console
no logging console

Command Default

To view syslog messages generated by a device, you need to display the syslog buffer or the log on a syslog server used by the device.

Modes

Global configuration mode

Usage Guidelines

You can enter this command from the serial console or from a Telnet or SSH session.

You can enable the real-time display of syslog messages on the management console. When you enable this command, the software displays a syslog message on the management console when the message is generated. However, to enable the display of real-time syslog messages in Telnet or SSH sessions, you must also enable the display within the individual sessions.

The no form of the command disables the real-time display of syslog messages.

Examples

The following example enables the real-time display of syslog messages.

device(config)# logging console