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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.