430
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 a maximum of 512 logs.
Views
System view
Predefined user roles
network-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 log buffer size 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 directory
Use info-center logfile directory to specify the directory to save the log file.
Syntax
info-center logfile directory dir-name
Default
Log files are saved in the logfile directory under the root directory of the storage device.
Views
System view
Predefined user roles
network-admin
Parameters
dir-name: Specifies a directory by its name, a string of 1 to 64 characters.