logging console
To enable logging of system logging (syslog) messages logged to the console by severity level, use the
logging
console
command in global configuration mode. To return console logging to the default setting, use the
no
form of this command.
logging console
{
severity| disable
}
no logging console
Syntax Description
Severity level of messages logged to the console, including events of a higher severity
level (numerically lower). The default is
informational
. Settings for the severity levels
and their respective system conditions are listed in
Table 29: Severity Levels for Messages,
on page 312
under the
“
Usage Guidelines
”
section for the
logging buffered, on page 312
command.
severity
Removes the
logging console
command from the configuration file and disables logging
to the console terminal.
disable
Command Default
By default, logging to the console is enabled.
severity
:
informational
Command Modes
Global configuration
Command History
Modification
Release
This command was introduced.
Release 3.2
Added the
disable
keyword.
The command
no logging console
was changed to reset console
logging to the default setting.
Release 3.3.0
Usage Guidelines
Use the
logging console
command to prevent debugging messages from flooding your screen.
The
logging console
is for the console terminal. The value specified for the
severity
argument causes messages
at that level and at numerically lower levels (higher severity levels) to be displayed on the console.
Use the
logging console disable
command to disable console logging completely.
Use the
no logging console
command to return the configuration to the default setting.
Use the
show logging, on page 344
command to display syslog messages stored in the logging buffer.
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
314
OL-24735-01
Logging Services Commands
logging console