Information Management IBM InfoSphere Master Data Management, Version 11.3

Configuring Java Development Kit log files

You can configure the batch processor to use Java Development Kit (JDK) log files, and also configure the level of detail recorded in the logs.

About this task

JDK log files have the following predefined logging levels:

To configure JDK log files:

Procedure

  1. To set the logging type to JDK:
    1. Edit the DWLLog.properties file.
    2. Change the value of the LoggerFactory property to com.dwl.base.logging.DWLLog4jLoggerFactory:
      LoggerFactory=com.dwl.base.logging.DWLJDKLoggerFactory
    Note: By default, Apache log4j is defined as the logging type.
  2. To configure the detail level of the messages that are displayed on the console during batch processing:
    1. Edit the JDKLog.properties file.
    2. Depending on the logging level you wish to set, change the value of the java.util.logging.FileHandler.level property to one of the predefined logging levels.
      handlers=java.util.logging.FileHandler, ,java.util.logging.ConsoleHandler
      java.util.logging.FileHandler.level=SEVERE
      Tip: If you wish to turn off console output so that the user can have a clear console, remove the console handler from the handlers property:
      handlers=java.util.logging.FileHandler
      java.util.logging.FileHandler.level=SEVERE
  3. To configure the detail level of the messages that are logged in the batch processing log files:
    1. Edit the JDKLog.properties file.
    2. Depending on the logging level you wish to set for each log file type, change the value of the following logging level properties to one of the predefined logging levels:
      • Activity log:
        BulkProcessing.Activity.level=INFO


Last updated: 27 June 2014