docker-atlassian-confluence
docker-atlassian-confluence copied to clipboard
Image should come with a way to set the number of logs files to keep
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.