
52
Examples
# Set the alarm threshold of the security log file usage to 90%.
<Sysname> system-view
[Sysname] info-center security-logfile alarm-threshold 90
info-center security-logfile enable
Syntax
info-center security-logfile enable
undo info-center security-logfile enable
View
System view
Default level
2: System level
Parameters
None
Description
Use the
info-center security-logfile enable
command to enable the saving of the security logs into the
security log file.
Use the
undo info-center security-logfile enable
command to restore the default.
By default, the saving of the security logs into the security log file is not enabled.
With this function enabled, the system saves the security logs into the security log file in a specific
directory without affecting the current output rules of system information. It means that the system picks up
all security logs from the system information, copies and saves them into the security log file in a specified
directory when outputting the system information to different destinations. You can perform centralized
management to the security logs and view the security logs conveniently.
Examples
# Enable the saving of the security logs into the security log file.
<Sysname> system-view
[Sysname] info-center security-logfile enable
info-center security-logfile frequency
Syntax
info-center security-logfile frequency
freq-sec
undo info-center security-logfile frequency
View
System view
Default level
2: System level