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
Accepted answer

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
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,566 views 26 14
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