F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100

95
Use undo info-center logfile size-quota to restore the default.
Syntax
info-center logfile size-quota size
undo info-center logfile size-quota
Default
The storage space reserved for a log file is 10 MB.
Views
System view
Default command level
2: System level
Parameters
size: Specifies the maximum storage space reserved for a log file, in the range of 1 to 10 MB.
Usage guidelines
The following matrix shows the info-center logfile size-quota command and firewalls and UTM devices
compatibility:
Hardware info-center lo
g
file size-
q
uota
F1000-A-EI/F1000-S-EI No
F1000-E Yes
F5000 Yes
Firewall module Yes
U200-A No
U200-S No
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
Use info-center logfile switch-directory to configure the directory where a log file is saved.
Syntax
info-center logfile switch-directory dir-name
Default
A log file is saved in the logfile directory under the root directory of the storage device. For a device that
supports CF partition, the directory to save a log file varies with devices and is usually the logfile
directory in the second partition of the storage device.
Views
System view