The info-center logfile size command sets a maximum size for each information file.
The undo info-center logfile size command restores the default size of each information file.
The default maximum size varies with log file types. The default maximum size is 8 MB for a common log file, 4 MB for a security log file, and 4 MB for an operation log file.
Parameter | Description | Value |
---|---|---|
security |
Sets a maximum size for each security log file. |
- |
size |
Specifies the maximum size of each information file. |
The value is an integer, in MB
|
Usage Scenario
Logs generated during system operations are recorded in information files. An excessively large information file, however, consumes plenty of disk space resources. To set the maximum size of a single information file, run the info-center logfile size command.
Information files are generated in xxx.log format. When the size of an information file exceeds the configured maximum size, the information file is compressed into a smaller file in standard ID_time.log.zip format.
Configuration Impact
When the size of an information file exceeds the configured maximum value, the information file is compressed into a smaller file in standard xxx.log.zip format.