we want to regular run a job which deletes the complete content from C:\Program Files\Atlassian\JIRA\logs.
The plan is to first stop the service, delete all the files in the logs folder and then to start the service again.
So my question is, can we delete all of the content from JIRA\logs without doing any harm?
Thanks so much!
As @Dave Bosman _Realdolmen_ mentioned, you can check the answer of Nic in the above link.
If you don't want to stop the services, i would suggest to just cleanup the logfiles that contain a date stamp, those can be removed without impact.
The one without a timestamp can't be removed while the services are running.
Just creating a shell script that removes all files older than X days should also do the trick.
Hope this helps,
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events