The info-center logbuffer size command sets the maximum number of logs in the log buffer.
The undo info-center logbuffer size command restores the default maximum number of logs in the log buffer.
By default, a log buffer can store a maximum of 512 logs.
Parameter | Description | Value |
---|---|---|
logbuffer-size | Specifies the maximum number of logs in the log buffer. | The value is an integer that ranges from 0 to 1024. If logbuffer-size is 0, logs are not displayed. |
Usage Scenario
If the number of logs in the log buffer reaches the maximum value, new logs will replace the existing logs that were placed earlier in the log buffer until all the new logs are stored.
Precautions
When you run the info-center logbuffer size command multiple times, only the latest configuration takes effect.
The info-center logbuffer size command takes effect only after the information center function has been enabled using the info-center enable command.