Confluence not rotating atlassian-confluence.log files

I am concerned that the atlassian-confluence.log files are not being rotated at 20MB in size since I upgraded Confluence from v6.2.3 to v6.3.2 at the end of July 2017. 

I have Confluence installed on two independent servers, for DEV (testing) and PROD (production). 

The log file on the DEV server is now over 12GB in size, and the log file on the PROD server is over 408MB.

The log4j.properties file is identical on both servers. I have not modified this file since it was created by the upgrade installer. 

Both servers were initially set up for evaluation and testing only a couple of months prior to the upgrade from v6.2.3 to v6.3.2, so there wasn't a lot of logging output prior to the upgrade, to know if the logs were being rotated at 20MB prior to the upgrade.

Any help is appreciated.

 

1 answer

1. Check that your "<CONFLUENCE-INSTALL>/confluence/WEB-INF/classes/log4j.properties file" contains options:

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

 2. Check log file permissions.

Hi Gregor,

1. Yep, I see those two lines in both properties files.

2. The account that runs the Confluence app has read/write/execute permissions on the properties file and read/write/list on the enclosing folder (The server is Windows Server 2012) .

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,146 views 20 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