ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How can agent logs be rolled over by date?


Article ID: 200442


Updated On:


CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management


The doc section Roll Up Logs by Date or Size in indicates logs can be rolled over based on date as well as size but gives no example.  Is rollover by date possible and if so how is it configured? 


Application Performance Management 20.2


To implement daily log rotation change the following property values in the agent profile. This has been verified in Java agent and Infrastructure Agent




the logs will then rollover at midnight as in the following example
-rw-r--r--. 1 root root 2928 Sep 28 02:58 IntroscopeAgent.log
-rw-r--r--. 1 root root 1654321 Sep 25 23:59 IntroscopeAgent.log.2020-09-25
-rw-r--r--. 1 root root 23104 Sep 26 23:59 IntroscopeAgent.log.2020-09-26
-rw-r--r--. 1 root root 23104 Sep 27 23:59 IntroscopeAgent.log.2020-09-27
Note: When using this mechanism the parameters that control the log file size i.e.



are no longer used so the log file size may grow 

A documentation change request has been raised for an example to be included in the standard documentation