367
Use
undo info-center diagnostic-logfile frequency
to restore the default saving interval.
Syntax
info-center diagnostic-logfile frequency
freq-sec
undo info-center diagnostic-logfile frequency
Default
The default saving interval is 86400 seconds.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
freq-sec
: Specifies the interval (in seconds) at which the system saves diagnostic logs from the
diagnostic log file buffer to the diagnostic log file. The value range for this argument is 10 to 86400.
The default value is 86400.
Usage guidelines
The system saves diagnostic logs in the diagnostic log buffer, and outputs the buffered diagnostic
logs to the diagnostic log file at the specified interval.
Examples
# Configure the system to save diagnostic logs from the diagnostic log file buffer to the diagnostic log
file every 600 seconds.
<Sysname> system-view
[Sysname] info-center diagnostic-logfile frequency 600
Related commands
info-center diagnostic-logfile enable
info-center diagnostic-logfile quota
Use
info-center diagnostic-logfile quota
to set the maximum size of the diagnostic log file.
Use
undo info-center diagnostic-logfile quota
to restore the default.
Syntax
info-center diagnostic-logfile quota
size
undo info-center diagnostic-logfile quota
Default
The maximum size of the diagnostic log file is 10 MB.
Views
System view
Predefined user roles
network-admin
mdc-admin