logging buffered
To specify the logging buffer as a destination for system logging (syslog) messages, use the
logging buffered
command in global configuration mode. To remove the
logging buffered
command from the configuration
file and cancel the use of the buffer, use the
no
form of this command.
logging buffered
{
size
|
severity
}
no logging buffered
{
size
|
severity
}
Syntax Description
Size of the buffer, in bytes. Range is 307200 to 125000000 bytes. The default is 307200
bytes.
size
Severity level of messages that display on the console. Possible severity levels and their
respective system conditions are listed under
Table 29: Severity Levels for Messages, on
page 312
in the
“
Usage Guidelines
”
section. The default is
debugging
.
severity
Command Default
size
: 307200 bytes
severity
:
debugging
Command Modes
Global configuration
Command History
Modification
Release
This command was introduced.
Release 3.2
The value of size argument is changed from 4096 to 307200.
Release 4.0.0
Usage Guidelines
Use the
logging buffered
command to copy messages to the logging buffer. The logging buffer is circular,
so newer messages overwrite older messages after the buffer is filled. This command is related to the
show
logging buffer
command, which means that when you execute a
logging buffered warnings
command, it
enables the logging for all the levels below the configured level, including log for LOG_ERR, LOG_CRIT,
LOG_ALERT, LOG_EMERG, and LOG_WARNING messages. Use the
logging buffer size
to change the
size of the buffer.
The value specified for the
severity
argument causes messages at that level and at numerically lower levels
to be displayed on the console terminal. See
Table 29: Severity Levels for Messages, on page 312
for a list of
the possible severity level keywords for the
severity
argument.
This table describes the acceptable severity levels for the
severity
argument.
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
312
OL-24735-01
Logging Services Commands
logging buffered