Enabling JDK logging in the Decision Center command framework

When you operate the Business console, you can use the JDK logger to log traces in the command framework, for debugging purposes.

Procedure

  1. To configure the logging for Decision Center, add the following class and logging level to your logging.properties file:
    .level=INFO
    ilog.rules.teamserver.model.commands.level=FINE
    The following code shows a sample configuration:
    handlers=java.util.logging.FileHandler,java.util.logging.ConsoleHandler
    java.util.logging.ConsoleHandler.level=INFO
    java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
    
    java.util.logging.FileHandler.level=FINE
    java.util.logging.FileHandler.pattern=/<User_directory>/<filename>.log
    
    # Write 10MB before rotating this file
    java.util.logging.FileHandler.limit =10000000 
    
    # Number of rotating files to be used
    java.util.logging.FileHandler.count=4
    java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
    
    .level=INFO
    ilog.rules.teamserver.model.commands.level=FINE
  2. To activate traces in Decision Center, add the following argument in the JVM that you use to start the application server, with the relevant values for the file path, and the file name of the logging.properties file:
    -Djava.util.logging.config.file=/file_path/logging.properties
  3. If you cannot identify the cause of the error from the log messages, provide the .log files produced by the JDK logger to IBM® Customer Support.