R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)
385
Examples
# Configure the timestamp format for system information sent to a log host as no-year-date.
<Sysname> system-view
[Sysname] info-center timestamp loghost no-year-date
Related commands
info-center timestamp
info-center trace-logfile quota
Use info-center trace-logfile quota to set the maximum size of the trace log file.
Use undo info-center trace-logfile quota to restore the default.
Syntax
info-center trace-logfile quota size
undo info-center trace-logfile quota
Default
The maximum size of the trace log file is 1 MB.
Views
System view
Predefined user roles
network-admin
Parameters
size: Specifies the maximum size of the trace log file, in MB. The value range is 1 to 10.
Examples
# Set the maximum size of the trace log file to 6 MB.
<Sysname> system-view
[Sysname] info-center trace-logfile quota 6
logfile save
Use logfile save to manually save logs in the log file buffer into a log file.
Syntax
logfile save
Views
Any view
Predefined user roles
2: System level
Usage guidelines
You can specify the directory to save a log file with the info-center logfile directory command.
The system clears the log file buffer after saving logs from the buffer to a log file automatically or
manually.










