Confluence log not older than 1 day

AKASH BHARDWAJ February 25, 2015

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
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 25, 2015

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.

1 vote
Steve Gerstner [bridgingIT]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2015

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
TAGS
AUG Leaders

Atlassian Community Events