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)


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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

240 views 1 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