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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

670 views 3 11
Read article

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