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

This widget could not be displayed.
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 Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

179 views 1 3
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