The info-center logfile size command sets the log file size.
The undo info-center logfile size command restores the default log file size.
By default, the log file size is 8 MB.
Parameter | Description | Value |
---|---|---|
size | Specifies the log file size. | The value is an integer that is 4, 8, 16, or 32, in MB. The default value is 8 MB. |
To configure the Switch to export information to a log file, run the info-center logfile size command to set the log file size.
PrecautionsIf you configure the device to export information to a log file, exported information is saved in the log.log or log.dblg file. When the log.log or log.dblg file exceeds the specified size, the system compresses the file in to a zip package and names the compressed file date time.log.zip or date time.dblg.zip.
The info-center logfile size command takes effect only after the information center function has been enabled using the info-center enable command.