
53
Parameters
freq-sec
: Frequency with which the system saves the security log file, which ranges from 1 to 86,400
seconds.
Description
Use the
info-center security-logfile frequency
command to configure the frequency with which the system
saves the security log file.
Use the
undo info-center security-logfile frequency
command to restore the default frequency.
By default, the frequency is 600 seconds.
Related commands:
info-center security-logfile enable
.
Examples
# Configure the frequency with which the system saves the security log file as 3600 seconds.
<Sysname> system-view
[Sysname] info-center security-logfile frequency 3600
info-center security-logfile size-quota
Syntax
info-center security-logfile size-quota
size
undo info-center security-logfile size-quota
View
System view
Default level
2: System level
Parameters
size:
The maximum storage space reserved for the security log file, in MB. The value is in the range of 1
to 10.
Description
Use the
info-center security-logfile size-quota
command to set the maximum storage space reserved for
the security log file.
Use the
undo info-center security-logfile size-quota
command to restore the default.
By default, the storage space reserved for the security log file is 1 MB.
Related commands:
info-center security-logfile alarm-threshold
.
Examples
# Set the maximum storage space reserved for the security log file to 6 MB.
<Sysname> system-view
[Sysname] info-center security-logfile size-quota 6
info-center security-logfile switch-directory
Syntax
info-center security-logfile switch-directory
dir-name