Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can I stop Confluence logs from getting massive?

Michael Witten October 5, 2020

We have an issue where Confluence logs just keep growing until they fill the C: drive (on Windows Server).

I have looked at c:\Program Files\Atlassian\Confluence\confluence\WEB-INF\classes\log4j.properties and all the MaxFileSize are set to 20480KB. I can also see that the logs at c:\Program Files\Atlassian\Application Data\Confluence\logs max out at this size.

The issue is in c:\Program Files\Atlassian\Confluence\logs where the logs just keep growing. When Confluence starts getting errors due to the C: being full I go in and delete them all, but I can't find settings anywhere to set these logs max size (they were taking 20GB total before I deleted them this morning, some of them around 1.5GB each).

Is there any way to fix this?

1 answer

0 votes
Adrian Moerchen
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.
October 5, 2020
  1. Look into the logs and solve the problem... There must be a reason they are growing so large in a short time...
  2. "C:\Program Files\Atlassian\Confluence\logs" are probably Tomcat logs..., so you may have to edit another settings file in the Tomcat folder
Michael Witten October 6, 2020

1. This isn't in a short amount of time, it takes 6 months or more to get to that stage and most of the logs are just info, and any errors (like connecting to MySQL without SSL as its on the same server and nothing is open to the public, only using on the LAN) are not ones we need to or want to fix.

2. Thanks for that, I will investigate trimming Tomcat logs.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events