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

This widget could not be displayed.

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.

This widget could not be displayed.

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 Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

596 views 7 6
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