Logging file configuration (location)
The MSCM server uses log4j as its logging service. The configuration file can found in \MSCMDirectory\config\mscm_logging.properties.
Changes to this file require a redeploy.
To change log file settings
- Open the mscm_logging.properties file.
- To change the logging level from INFO to DEBUG, perform these changes:
from
log4j.rootLogger=INFO, ROOT
to
log4j.rootLogger=DEBUG, ROOT
- To change the number of rollover files, change the MaxBackupIndex to the desired number. In the example above, it is shown to be 100. By default, the log files will require 1 gigabyte of disk space to hold them.
- To change the MaxFileSize, change the value="10MB" above to the desired value. 10MB indicates that log files will be rolled over when they reach 10 megabytes.
To activate log file setting changes
- Open a command window and change directory to MSCM/config.
- Run the log4graft script. At the command line, type
log4graft.bat
(Windows)log4graft.sh
(UNIX) - Restart the MSCM application.
- In the Administrative Console for WebSphere, navigate to Applications -> Enterprise Applications.
- Select the MSCM application and click Stop.
- After the application has stopped, select the MSCM application again and click Start.