Db2 log files fill the C drive on the Windows DB2® system
On Db2® servers that run for extended periods of time, the Db2 logs can grow large enough to fill the C: drive if the default Db2 log location is used.
Problem
When installing Db2 on a Microsoft Windows system, the default location of the DB2DIAG and SPMLOG log files is the C: drive. After running IBM Spectrum Control for an extended period of time, the Db2 logs can fill up the C: drive, making it difficult to install other applications on that system. This can also prevent other applications from writing to the C: drive.Action
Use the information provided in the following links to manage your Db2 logs:
- Control the size of the Db2 diagnostic log using the
diagsize
database configuration parameter: diagsize - Rotating diagnostic and administration notification logs configuration parameter. - Archive the Db2 diagnostic logs using the
archive
database configuration parameter: db2diag - db2diag logs analysis tool command.