DevTest - Agent Suppressing "Heap size approaching limit" Log Messages

Document ID : KB000117129
Last Modified Date : 08/10/2018
Show Technical Document Details
Issue:
Using the Portal the root logging level is set to Error or Warning.
However, the Agent's stats INFO messages are showing up in the logs.
Environment:
All supported DevTest environments.
Resolution:
If the Portal, most logging levels can be individually set.
However, the Agent's stats messages are different. There is no built in way to eliminate them from the Agent's log file.

Example of message: Heap size approaching limit
Note: These messages usually indicate an issue with the applications JVM. It is not recommended these message be eliminated.

If these messages must be eliminated, it is a two step solution.
1. In the Portal, set the root logging level to "Error" or "Warning".
2. Add this line to the rules.xml:
<property comment="AgentStats logging level" key="lisa.log.level.com.itko.lisa.remote.stats.AgentStats" value="error"/> 

Note: The above line can go in the rules.xml on the agent side or the DevTest_Home side. Also, it can go in the agent specific area or the default agent area.

The agent and Broker must be restarted.
 
Additional Information:
Not applicable.