How to change agent log directory or redirect logs to console?

How to change agent log directory or redirect logs to console?

By default, agent logs are written to a log file in the specified or default directory of APM Insight Java agent.

  1. To redirect the agent logs to STDOUT or console, add the below key in apminsight.conf file and restart your application.
     apminsight.console.logger=true
  

  1. To change logging directory ,please provide the location as value in below key in apminsight.conf file
 apminsight.log.dir=<new logging directory>






                  New to ADSelfService Plus?