It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence not rotating atlassian-confluence.log files

Philip Steiner Nov 01, 2017

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

0 votes
Gregor Kasmann Nov 01, 2017

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.

Philip Steiner Nov 01, 2017

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

856 views 0 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you