2436
C
163: I
HAPTER
NFORMATION
Description
Example
info-center logfile size-quota
Syntax
View
Parameter
Description
Example
info-center logfile switch-directory
Syntax
View
C
C
ENTER
ONFIGURATION
Use the
info-center logfile frequency
with which the system saves the log file.
Use the
undo info-center logfile frequency
frequency.
By default, the frequency with which the system saves the log file varies with
devices.
n
The support for the command varies with devices.
# Configure the frequency with which the system saves the log file as 60,000
seconds.
<Sysname> system-view
[Sysname] info-center logfile frequency 60000
info-center logfile size-quota size
undo info-center logfile size-quota
System view
size: The maximum capacity of a disk, in MB, the default range varies with devices.
The value, however, cannot be smaller than 1MB and larger than 10 MB.
Use the
info-center logfile size-quota
space reserved for a log file.
Use the
undo info-center logfile size-quota
maximum storage space reserved for a log file.
By default, the storage space reserved for a log file varies with devices.
n
The support for the command varies with devices.
# Set the maximum storage space reserved for a log file to 6 MB.
<Sysname> system-view
[Sysname] info-center logfile size-quota 6
info-center logfile switch-directory dir-name
System view
C
OMMANDS
command to configure the frequency
command to restore the default
command to set the maximum storage
command to restore the default