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

  1. Open the mscm_logging.properties file.
  2. To change the logging level from INFO to DEBUG, perform these changes:

    from

    log4j.rootLogger=INFO, ROOT

    to

    log4j.rootLogger=DEBUG, ROOT
  3. 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.
  4. 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

  1. Open a command window and change directory to MSCM/config.
  2. Run the log4graft script. At the command line, type

    log4graft.bat (Windows)

    log4graft.sh (UNIX)

  3. Restart the MSCM application.
    1. In the Administrative Console for WebSphere, navigate to Applications -> Enterprise Applications.
    2. Select the MSCM application and click Stop.
    3. After the application has stopped, select the MSCM application again and click Start.