Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Delete Jira Logfiles

Hello,

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!

Ronny

2 answers

0 votes
Laurens Coppens Community Leader Jul 09, 2021

Hi Ronny,

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,

Laurens

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

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

Events near you