By default, the AppDynamics Analytics Agent writes log files to the <analytics_agent_home>/logs directory. See Agent Log Files for information about how the logs are organized into sets that roll over.

Log File Sizes

Each log can grow to 64 MB in size before being compressed and renamed. A maximum of 10 compressed files can be generated.

The default pattern for agent log naming is <filename>-<date_compressed>.log.gz as shown in the table below.

log file namemeaning
analytics-agent.log
the current log
analytics-agent-2018-12-11.log.gz
the previous log
analytics-agent-2018-12-10.log.gz.log
the 2nd previous log

Logging Level for the Analytics Agent

The default logging level for most log files is INFO. Higher logging levels consume more disk space. 

You can control the logging level for the Analytics Agent by changing the value of the ad.dw.log.level parameter in the analytics-agent.properties file.

For example, to set the log level to DEBUG:

 
ad.dw.log.level=DEBUG