86
<Sysname> system-view
[Sysname] info-center diagnostic-logfile enable
info-center diagnostic-logfile frequency
Use
info-center diagnostic-logfile frequency
to configure the interval at which the system saves
diagnostic logs from the diagnostic log file buffer to the diagnostic log file.
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 diagnostic log file saving interval is 86400 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
freq-sec
: Specifies the interval at which the system saves diagnostic logs from the diagnostic log file
buffer to the diagnostic log file. The value range is 10 to 86400 seconds, and the default is 86400
seconds.
Usage guidelines
The system saves diagnostic logs in the diagnostic log file 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.