System information
Configuring the System
3-15
Setting the Logging Buffer
Buffering is used to allow space on the internal logging buffer on the BSR or syslog
server for the latest messages. If buffering is enabled, messages are overwritten to
allow space for the latest messages when the internal buffer reaches maximum
capacity, which is 16 Megabytes.
1. To set the logging buffer size, use the logging buffered command in Global
Configuration mode, as shown below:
MOT(config)#logging buffered <4096-5242880>
where:
4096-5242880 is the logging buffer size expressed in bytes.
2. To specify what logged information is buffered, use the logging buffered
command, in Global Configuration mode, as shown below:
MOT(config)#logging buffered {emergencies | alerts | critical | errors |
warnings | notifications | informational | debugging}
where:
emergencies logs emergency conditions where the system is unusable
(severity level 0).
alerts logs conditions where immediate action is needed (severity level 1).
critical logs critical conditions (severity level 2).
errors logs error conditions (severity level 3).
warnings logs warning conditions (severity level 4).
notifications logs normal but significant conditions (severity level 5).
informational logs informational descriptive system information (severity
level 6).
debugging logs debugging messages (severity level 7).
3. Use the show log command in Privileged EXEC or Global Configuration mode to
see messages logged in the internal buffer. The oldest message is displayed first.