Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mccartney opened this issue Dec 18, 2016 · 0 comments · May be fixed by #44
Open

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

mccartney opened this issue Dec 18, 2016 · 0 comments · May be fixed by #44

Comments

@mccartney
Copy link
Contributor

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 pushed a commit to mccartney/docker-atlassian-confluence that referenced this issue Dec 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant