logging monitor
To specify terminal lines other than the console terminal as destinations for system logging (syslog) messages
and limit the number of messages sent to terminal lines based on severity, use the
logging monitor
command
in global configuration mode. To remove the
logging monitor
command from the configuration file and
disable logging to terminal lines other than the console line, use the
no
form of this command.
logging monitor
[
severity
]
no logging monitor
Syntax Description
(Optional) Severity level of messages logged to the terminal lines, including events of a higher
severity level (numerically lower). The default is
debugging
. Settings for the severity levels
and their respective system conditions are listed under
Table 29: Severity Levels for Messages,
on page 312
in the
“
Usage Guidelines
”
section for the
logging buffered
command.
severity
Command Default
severity
:
debugging
Command Modes
Global configuration
Command History
Modification
Release
This command was introduced.
Release 3.2
Usage Guidelines
The
logging monitor
is for the terminal monitoring. Use the
logging monitor
command to restrict the
messages displayed on terminal lines other than the console line (such as virtual terminals). The value set for
the
severity
argument causes messages at that level and at numerically lower levels to be displayed on the
monitor.
Use the
terminal monitor, on page 350
command to enable the display of syslog messages for the current
terminal session.
Task ID
Operations
Task ID
read, write
logging
Examples
This example shows how to set the severity level of messages logged to terminal lines to errors:
RP/0/0/CPU0:router(config)#
logging monitor errors
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
332
OL-24735-01
Logging Services Commands
logging monitor