Modifying log levels for Opportunity Detect

You can modify log levels for Opportunity Detect Design Time and RunTime.

Procedure

  1. Log in to Opportunity Detect by root.
  2. In the Opportunity_Detect_installation_home/conf directory, modify the detect_log4j.properties file to reflect the following information:
    log4j.logger.com.ibm.unica.detect=INFO, FILE
  3. In the Opportunity_Detect_installation_home/InteractService/wlp/usr/servers/InteractService directory, change the console log level in the server.xml file
    For example, the server.xml file can reflect the following settings:
    <logging logDirectory="/opt/Detect/FakeInstall/OpDetection/
     InteractService/wlp/usr/servers/InteractService/logs"
     consoleLogLevel="ERROR" messageFileName="messages.log"/>
  4. Log in to StreamsRemoteControl as the streamsamdin user.
  5. In the /home/streamsadmin/OpDetection/StreamsRemoteControlService/wlp/usr/servers/StreamsRCS directory, change the console log level in the server.xml file.
    For example, the server.xml file can reflect the following setting:
    consoleLogLevel="DEBUG"
  6. Log in to RealTimeConnector as the streamsamdin user.
  7. In the /home/streamsadmin/OpDetection/RealTimeConnector/wlp/usr/servers/RealTimeConnector directory, change the console log level in the server.xml file.
    For example, the server.xml file can reflect the following setting:
    consoleLogLevel="DEBUG"
  8. Restart the server for your changes to take effect.