R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

77
Use the undo info-center logfile size-quota command to restore the default maximum storage space
reserved for a log file.
By default, the storage space reserved for a log file is 10 MB.
Examples
# Set the maximum storage space reserved for a log file to 6 MB.
<Sysname> system-view
[Sysname] info-center logfile size-quota 6
info-center logfile switch-directory
Syntax
info-center logfile switch-directory dir-name
View
System view
Default level
2: System level
Parameters
dir-name: The name of the directory where a log file is saved, a string of 1 to 64 characters.
Description
Use the info-center logfile switch-directory command to configure the directory where a log file is saved.
Ensure that the directory is created first before saving a log file into it.
By default, the directory to save a log file is the logfile directory under the root directory of the storage
device.
Note that this command can be used to configure the directory to which a log file can be saved. The
configuration will lose after system restart.
Examples
# Create a directory with the name cfa0 under flash root directory.
<Sysname> mkdir test
%Created dir cfa0:/test.
# Set the directory to save the log file to cfa0:/test.
<Sysname> system-view
[Sysname] info-center logfile switch-directory cfa0:/test
info-center loghost
Syntax
info-center loghost host-ip [ port port-number ] [ channel { channel-number | channel-name } | facility
local-number ] *
undo info-center loghost host-ip
View
System view