From 26a07b067d1606ceda87f2e6e6fed57ba429cb05 Mon Sep 17 00:00:00 2001 From: Elad Amit Date: Sun, 9 Oct 2016 17:16:32 +0300 Subject: [PATCH] prefixed new vars with zookeeper --- templates/log4j.properties.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/log4j.properties.j2 b/templates/log4j.properties.j2 index d5e5828..9a995f4 100644 --- a/templates/log4j.properties.j2 +++ b/templates/log4j.properties.j2 @@ -38,9 +38,9 @@ log4j.appender.ROLLINGFILE.Threshold=${zookeeper.log.threshold} log4j.appender.ROLLINGFILE.File=${zookeeper.log.dir}/${zookeeper.log.file} # Max log file size of 10MB -log4j.appender.ROLLINGFILE.MaxFileSize={{ rolling_log_file_max_size }} +log4j.appender.ROLLINGFILE.MaxFileSize={{ zookeeper_rolling_log_file_max_size }} # uncomment the next line to limit number of backup files -log4j.appender.ROLLINGFILE.MaxBackupIndex={{ max_rolling_log_file_count }} +log4j.appender.ROLLINGFILE.MaxBackupIndex={{ zookeeper_max_rolling_log_file_count }} log4j.appender.ROLLINGFILE.layout=org.apache.log4j.PatternLayout log4j.appender.ROLLINGFILE.layout.ConversionPattern=%d{ISO8601} [myid:%X{myid}] - %-5p [%t:%C{1}@%L] - %m%n