docker-atlassian-confluence icon indicating copy to clipboard operation
docker-atlassian-confluence copied to clipboard

Image should come with a way to set the number of logs files to keep

Open mccartney opened this issue 9 years ago • 0 comments

The number of log files to be kept for Confluence is configured by log4j.properties located (unfortunately) in the CONF_INSTALL directory, not the Confluence home one. And thus, I suppose it's the image which should offer a way of re-configuring this value.

The precise location of the setting seems to be: $CONF_INSTALL/confluence/WEB-INF/classes/log4j.properties line: log4j.appender.confluencelog.MaxBackupIndex=5

In practice the number 5 of 20MB files is too little for production use.

mccartney avatar Dec 18 '16 00:12 mccartney