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
Usage guidelines
This feature enables the system to output security logs to the security log file buffer, and then saves
the buffered logs 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.
Syntax
info-center security-logfile frequency freq-sec
undo info-center security-logfile frequency
Default
The security log file saving interval is 86400 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
freq-sec: Specifies the security log file saving interval in seconds. The value range is 10 to 86400
seconds.
Usage guidelines
The system outputs security logs to the security log file buffer, and then saves the buffered logs to the
security log file at the specified interval.
Examples
# Set the security log file saving interval to 600 seconds.
<Sysname> system-view
344