R0106-HP MSR Router Series Network Management and Monitoring Command Reference(V7)

373
Default
The default saving interval is 86400 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
freq-sec: Specifies the interval at which the system saves logs to a log file, in seconds. The value range is
1 to 86400.
Usage guidelines
With this command executed, the system saves logs in the log file buffer to a log file at the specified
interval.
Examples
# Configure the interval for saving logs to a log file as 60000 seconds.
<Sysname> system-view
[Sysname] info-center logfile frequency 60000
Related commands
info-center logfile enable
info-center logfile size-quota
Use info-center logfile size-quota to set the maximum size for a log file.
Use undo info-center logfile size-quota to restore the default.
Syntax
info-center logfile size-quota size
undo info-center logfile size-quota
Default
The maximum size of a log file is 5 MB.
Views
System view
Predefined user roles
network-admin
Parameters
size: Specifies the maximum size for a log file, in MB. The value range is 1 to 10.
Usage guidelines
The devices supports multiple log files. Each log file has a specific capacity. When the capacity is
reached, the system creates a new log file to save new messages. The log files are named as logfile1.log,
logfile2.log, and so on. When the last log file is full or the storage device runs out of space, the system
deletes the oldest log file and creates a new one.