Where to find logs older than atlassian-jira.log.5 in JIRA?

Our JIRA 5.2 instance have logs at /var/atlassian/application-data/jira/log. The oldest atlassian-jira.log is atlassian-jira.log.5. But I want to get an older log than that. Where can I find it?

archive.tgz is present in the same location. But it contains just one atlassian-jira.log and this log contains data between the months of March and April of last year. So where can I find the logs for the rest of the year?

2 answers

1 accepted

Hi Karthik,

JIRA rotates the logs every 20MB. That is way you see files with numbers. The last one is by default 5. I am afraid that you will not be able to see older logs here however you can also check catalina.out (<install>/log) that should be a bigger file and contain all entries that were also in atlassian-jira.log files. (depends on your Log4j configuration)

-Mirek

Thank you Mirek. I will backup my logfiles through a script then.

The logs are rotated so that will be the oldest you will generally have on the system.

You would need to check that you have a alternate backup method in place that retains older files to be able to search further back.

Thanks Steve!

Is there a customizable setting in JIRA that will allow me to archive older logs to some known location? OR Should I back them up manually using crontab?

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,139 views 13 19
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