How to disable Introscope Agent log and AutoProbe log?

Document ID : KB000013526
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

In certain situations or for various reasons, customer may want to cease the generation of log files by Introscope Agent. There are basically two types of log files which the Introscope Agent generates, namely the IntroscopeAgent.log and the AutoProbe.log.

Question:

How can I stop the Introscope agent log and AutoProbe log from being generated?

Environment:
APM Java Agent
Answer:

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 console. For example:

        log4j.logger.IntroscopeAgent=INFO, console
 

    Note: Changes to the Introscope Agent logger properties do NOT require a restart.