Java Agent AutoProbe.log file can grow to be quite large (GB). Is there a way to limit the size or disable logging completely?

Document ID : KB000011047
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

When Introscope Java agents are deployed in production, it is possible that the AutoProbe.log can grow to be quite large (i.e. several GB). Is there a way to set a limit on size of AutoProbe.log?

Environment:
APM Java Agent 9.x, 10.x
Answer:

1. The Autoprobe log size limit can be controlled by implementing the following:

Add the com.wily.autoprobe.logSizeInKB property in JVM generic arguments. Example: 

....... -Dcom.wily.introscope.agentProfile=..... -Dcom.wily.autoprobe.logSizeInKB=10000 .... 

Restart of the Application Server JVM is then required.

 

2. Setting agent profile property introscope.autoprobe.logfile to no value i.e. "introscope.autoprobe.logfile=" will disable Autoprobe logging completely. Restart of the Application Server JVM is then required.