
46
View
System view
Default level
2: System level
Parameters
None
Description
Use the
info-center logfile enable
command to enable the output of system information to the log file.
Use the
undo
info-center logfile enable
command to disable the output of system information to the log
file.
By default, the output of system information to the log file is enabled.
Examples
# Enable the log file feature.
<Sysname> system-view
[Sysname] info-center logfile enable
info-center logfile frequency
Syntax
info-center logfile frequency
freq-sec
undo info-center logfile frequency
View
System view
Default level
2: System level
Parameters
freq-sec
: Frequency with which the system saves the log file, which ranges from 1 to 86,400 seconds.
Description
Use the
info-center logfile frequency
command to configure the frequency with which the system saves
the log file.
Use the
undo info-center logfile frequency
command to restore the default frequency.
By default, the frequency with which the system saves the log file is 86400 seconds.
Examples
# Configure the frequency with which the system saves the log file as 60,000 seconds.
<Sysname> system-view
[Sysname] info-center logfile frequency 60000