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

0 vote
Mirek Community Champion Jun 04, 2014

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 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 Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

84 views 0 5
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