Hello,
Can we do any configuration in tomcat to delete the "App-access" logs which are older than 30 days, or do we have to achieve this by writing a script and schedule it in the server?
Thanks
Bhavani Sankar
Hi Bhavani,
App access logs are saved with the date example app-access-2016-04-01, do you can write a script to read the current date - 30 and delete the files.
RegardsSuman Pramanik
Thanks Suman,
Thought we can achieve by changing the tomcat log configuration or through CSA settings similar to other logs (app-ca.logs).
Will try the script to achieve this. Thanks for your time.
in the past I have scripted the removal of the logs that were older than one month from the current date. It was the easiest method.
Thank you all.
We were able to achieve this by creating a .bat script and scheduling it via Windows task scheduler.
If you are in a windows environment. Just had to say that!