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

This widget could not be displayed.

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 Monday 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...

343 views 2 5
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