379
Examples
# Set the alarm threshold for the security log file usage to 90%.
<Sysname> system-view
[Sysname] info-center security-logfile alarm-threshold 90
Related commands
info-center security-logfile size-quota
info-center security-logfile enable
Use
info-center security-logfile enable
to enable saving of security logs to the security log file.
Use
undo info-center security-logfile enable
to restore the default.
Syntax
info-center security-logfile enable
undo info-center security-logfile enable
Default
The saving of security logs to the security log file is disabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
This feature enables the system to output security logs to the security log file buffer, and saves the
logs from the buffer to the security log file regularly.
Examples
# Enable saving security logs to the security log file.
<Sysname> system-view
[Sysname] info-center security-logfile enable
info-center security-logfile frequency
Use
info-center security-logfile frequency
to configure the interval for saving security logs to the
security log file.
Use
undo info-center security-logfile frequency
to restore the default saving interval.
Syntax
info-center security-logfile frequency
freq-sec
undo info-center security-logfile frequency
Default
The default saving interval is 86400 seconds.
Views
System view