Confluence log not older than 1 day

Hi Genius ,

We have Confluence PROD Instance, we need to look at Confluence log files to improve Confluence Performance.

When i go through Confluence Directory, I could only find that Confluence log shows only logs generated till today. I would be looking at logs prior to that 2 weeks older but i am unable to find it. Can anyone let me know where can i find it or if it's being purged?

 

Thanks,
Akash

2 answers

1 accepted

1 vote

It will be being purged by something.  You can configure the Tomcat that Confluence runs in to do it with a bit of fiddling, but it's usually done best by the operating system - logrotate is the most widely used tool on Unix machines.

You can configure that in confluence/WEB-INF/classes/log4j.properties

These are the interesting lines:

log4j.appender.confluencelog.MaxFileSize=20480KB
log4j.appender.confluencelog.MaxBackupIndex=5

If you are writing 100 MB log file a day, you have enough for one day.

If that's not satisfying, try http://www.simonsite.org.uk/download.htm

Regards

Steve

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
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

346 views 20 10
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