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

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
Published in Confluence

6 Awesome Ways to Apply Trello, JIRA and Confluence to your Project

I attended  Atlassian Summit 2019  and learned a lot from the presenters, attendees and knowledgeable Atlassian product managers. The presentations I attended focused on applying Agile, pla...

3,890 views 15 38
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