By default, the AppDynamics Analytics Agent writes log files to the <analytics_agent_home>/logs directory. See Agent Log Files for 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 ten compressed files can be generated.

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

Log File NameDefinition
analytics-agent.log
Current log
analytics-agent-2018-12-11.log.gz
Previous log
analytics-agent-2018-12-10.log.gz.log
Second 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