atlassian-jira.log files

In the log directory I have 4 atlassian-jira.log files:

atlassian-jira.log

atlassian-jira.log.1

atlassian-jira.log.2

atlassian-jira.log.3

Does anyone knows why? Can I delete one of them?logfiles.png

1 answer

1 accepted

3 votes
Jeremy Mooiman Community Champion Sep 11, 2017

Dear Anna,

This has to do with the log rotation. As you can see, Atlassian-jira.log 3 is the oldest one and all logs are about the same size.

This can have three reasons;

  1. There is a log size threshold, logs stop at a certain size.
  2. There is a time threshold, A time when a log should be created.
  3.  Your JIRA has been restarted.

This is normal behavior and you can indeed delete the older logs if you are no longer going to use them. This will not cause any harm other than the logs being removed.  In your case, you can see that there is a size threshold active. Your logs will not grow too big.

Friendly Regards,

Jeremy Mooiman

https://www.prepend.nl

Thank you Jeremy,

Do I have to shutdown the server to delete atlassian-jira.log.3?

Regards,

Anna

I have deleted 2 of the log files without stopping server. It is working properly.

Thank you

Jeremy Mooiman Community Champion Sep 11, 2017

Dear Anna,

Glad to see it has been resolved! I was out of office at the time you had written your first answer :-). And indeed, the older log files are not being written to anymore by JIRA. They are ''done''. So JIRA has no active interaction with them anymore.

Friendly Regards,

Jeremy Mooiman

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,009 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot