Modifying log levels for Opportunity Detect
You can modify log levels for Opportunity Detect Design Time and RunTime.
Procedure
- Log in to Opportunity Detect by root.
-
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
-
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"/>
- Log in to StreamsRemoteControl as the streamsamdin user.
-
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"
- Log in to RealTimeConnector as the streamsamdin user.
-
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"
- Restart the server for your changes to take effect.