Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

confluence log so huge

starxiang1945_Private
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 7, 2019

After i started confluence service, the log files under the log folder is continuously accumulated, even if the set in log4j.property is left as unchanged.

log4j.appender.confluencelog.MaxFileSize=20480KB
log4j.appender.confluencelog.MaxBackupIndex=5

and my logs go to size of 300 GB

And these huge files are of two kind of formats

one is "catalina.2019=07-08.log","catalina.2019=07-07.log"

another one is "confluence200619175351 -stderr 2019-06-21"

Please help me solve this problem

1 answer

1 vote
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 9, 2019

Hey, welcome to the Community!

The application logs in Confluence's home folder are controlled by the log4j flags. In the application install folder where you find catalina.out, the application settings don't have an effect.

We've got a KB article describing how to use logrotate to trim these logs. Although the article mentions Jira explicitly, the same instructions apply for Confluence (just make sure you're using the right file paths). This is the best way right now to get the log files you mentioned under control.

If you walk through the steps in the article and still need help, let me know!

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events