Intel MPCMM0001 manual Command and Error Logging, Command Logging, Error.log File, Debug.log File

Models: MPCMM0001

1 281
Download 281 pages 15.26 Kb
Page 199
Image 199

Command and Error Logging

Command and Error Logging

21

21.1Command Logging

All CMMSET commands from all of the CMM interfaces (CLI, RPC, and SNMP) are logged by the CMM in the file /var/log/user.log. The size of the user.log file is 500 KBytes. When the command log becomes full, the log file is compressed and archived using gzip, then stored in / home/log. The filename format for the log files is user.log.N.gz, where N is the number of the log file from 1 to 4. The CMM will keep up to four archives of log files. If the log file becomes full and there are already four existing command log archives, the oldest archive will be deleted to make room for the newest archive.

Note: Archived files should NEVER be decompressed on the CMM because the resulting prolonged flash file writing could disrupt normal CMM operation and behavior. The files should be transferred and decompressed on a different machine. Files can be decompressed by any application that supports the decompression of gzip (.gz) file types.

Note: The /home/log directory should not be deleted or change. the CMM requires that directory exist to log errors.

21.2Error Logging

The error.log and debug.log files are archived to maintain error logging in the event either log gets full and to prevent any loss of log data. This information is useful for technical support personnel.

21.2.1Error.log File

Error logging information for the CMM is logged in the file /home/log/error.log. The size of the error.log file is 500 KBytes. When error.log becomes full, the log file is compressed and archived using gzip, then stored in /home/log. The filename format for the log files is error.log.N.gz, where N is the number of the log file from 1 to 4. The CMM will keep up to four archives of log files. If the log file becomes full and there are already four existing error.log archives, the oldest archive will be deleted to make room for the newest archive.

21.2.2Debug.log File

Debug information for the CMM is logged in the file /var/debug.log. The size of the debug.log is 200 KBytes. When the debug.log becomes full, the log file is compressed and archived using gzip, then stored in /var/log. The filename format for the log files is debug.log.N.gz, where N is the number of the log file from 1 to 4. The CMM will keep up to four archives of log files. If the log file becomes full and there are already four existing debug.log archives, the oldest archive will be deleted to make room for the newest archive.

MPCMM0001 Chassis Management Module Software Technical Product Specification

199

Page 199
Image 199
Intel MPCMM0001 manual Command and Error Logging, Command Logging, Error.log File, Debug.log File