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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

How can I stop Confluence logs from getting massive?

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

  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

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

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

78 views 0 3
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