The doc section Roll Up Logs by Date or Size in https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/application-performance-management/20-2/implementing-agents/java-agent/configure-java-monitoring/java-agent-logging.html 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
modify
-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
log4j.appender.logfile.MaxBackupIndex=4
log4j.appender.logfile.MaxFileSize=20MB
are no longer used so the log file size may grow