Usage guidelines
The system saves diagnostic logs into 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 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 1 MB.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
size: Specifies the maximum size of the diagnostic log file, in MB. The value range is 1 to 10.
Examples
# Set the maximum size of the diagnostic log file to 6 MB.
<Sysname> system-view
[Sysname] info-center diagnostic-logfile quota 6
info-center diagnostic-logfile directory
Use info-center diagnostic-logfile directory to configure the directory to save the diagnostic log file.
Syntax
info-center diagnostic-logfile directory dir-name
213