By default, the Event Integration Facility (EIF) receiver
logging is contained in the UnityEifReceiver.log file
located in <HOME>/IBM®/LogAnalysis/logs directory.
This topic outlines how enable and configure the console logging for IBM Operations Analytics Log Analysis.
About this task
You can configure console logging by updating the log4j.properties file
in the <HOME>/IBM/LogAnalysis/UnityEIFReceiver/jars directory.
The default logging level is set to INFO
. To configure
console logging:
Procedure
- Use the following command to stop IBM Operations Analytics Log Analysis processes:
<HOME>/IBM/LogAnalysis/utilities/unity.sh -stop
- Open the log4j.properties file.
- To enable console logging, locate the line:
log4j.logger.Unity=INFO,UNITY_FILE
- Edit this line to read:
log4j.logger.Unity=INFO,UNITY_FILE,UNITY_CONSOLE
- (Optional) Update the logging level to ERROR, DEBUG, TRACE,
or WARN as required.
- Save the file.
- Use the following command to restart IBM Operations Analytics Log Analysis:
<HOME>/IBM/LogAnalysis/utilities/unity.sh -restart