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.
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
To change logging directory ,please provide the location as value in below key in apminsight.conf file
apminsight.log.dir=<new logging directory>