371
Examples
# Configure output of log information to the log buffer.
<Sysname> system-view
[Sysname] info-center logbuffer
Related commands
display logbuffer
info-center enable
info-center logbuffer size
Use
info-center logbuffer size
to set the maximum number of logs that can be stored in the log
buffer.
Use
undo info-center logbuffer size
to restore the default.
Syntax
info-center logbuffer
size
buffersize
undo info-center logbuffer size
Default
The log buffer can store up to 512 logs.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
buffersize
: Specifies the maximum number of logs that can be stored in the log buffer. The value
range is 0 to 1024, and the default is 512.
Examples
# Set the maximum number of logs that can be stored in the log buffer to 50.
<Sysname> system-view
[Sysname] info-center logbuffer size 50
# Restore the default maximum log buffer size.
<Sysname> system-view
[Sysname] undo info-center logbuffer size
Related commands
display logbuffer
info-center enable
info-center logfile enable
Use
info-center logfile enable
to enable the log file feature.
Use
undo
info-center logfile enable
to disable the log file feature.