Info-Center Logfile Size-Quota; Info-Center Logfile Switch-Directory - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Use the undo info-center logfile frequency command to restore the default frequency.
By default, the frequency with which the system saves the log file is 86,400.
Examples
# 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

Syntax
info-center logfile size-quota size
undo info-center logfile size-quota
View
System view
Default Level
2: System level
Parameters
size: The maximum storage space reserved for a log file, in MB. The default range form 1 to 10MB.
Description
Use the info-center logfile size-quota command to set the maximum storage space reserved for a log
file.
Use the undo info-center logfile size-quota command to restore the default maximum storage space
reserved for a log file.
By default, the storage space reserved for a log file is 5 MB
Examples
# 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

Syntax
info-center logfile switch-directory dir-name
View
System view
Default Level
2: System level
1-15

Advertisement

Table of Contents
loading

Table of Contents