484
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.
Usage guidelines
The specified directory must have been created.
The log file has a .log extension. When the default log file directory runs out of space, use this
command to specify a new log file directory.
This command cannot survive a reboot. (Centralized devices in standalone mode.)
This command cannot survive a reboot or an active/standby switchover. (Distributed devices in
standalone mode.)
This command cannot survive an IRF reboot or a master/subordinate switchover. (Centralized
devices in IRF mode.)
This command cannot survive an IRF reboot or a global active/standby switchover in an IRF fabric.
(Distributed devices in IRF mode.)