In certain situations or for various reasons, a customer may want to cease the generation of log files by the Introscope Agent. There are basically two types of log files that the Introscope Agent generates, namely the IntroscopeAgent.log and AutoProbe.log. Also, Agent generates output inside Application logs.
How can I stop the Introscope agent log, AutoProbe log and output inside application logs from being generated?
1. To disable AutoProbe.log, you need to comment out the introscope.autoprobe.logfile properties in the IntroscopeAgent.profile. For example:
#introscope.autoprobe.logfile=../../logs/AutoProbe.log
Note: Changes to this properties require a restart
2. To disable IntroscopeAgent.log, you need to perform any of the following actions:
a. Set the values for the agent logger properties to OFF. For example:
log4j.logger.IntroscopeAgent=OFF
b. Configure the agent logger option to only send output to application being monitored by removing "logfile" entry. For example:
log4j.logger.IntroscopeAgent=INFO, console
3. To disable output message inside Application being monitored, you need to perform any of the following actions:
a. Configure the agent logger option to only send output to Agent log path by removing the "console" entry. For example:
log4j.logger.IntroscopeAgent=INFO, logfile
Note: Changes to the Introscope Agent logger properties do NOT require a restart.