diff --git a/common/pom.xml b/common/pom.xml index 368558c3897..84cd5cda97f 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -132,6 +132,10 @@ org.apache.logging.log4j log4j-jul + + org.apache.logging.log4j + log4j-1.2-api + org.slf4j jcl-over-slf4j diff --git a/docs/content/Production-Cluster-Configuration.md b/docs/content/Production-Cluster-Configuration.md index e62fd6e8a75..4cff9e2442d 100644 --- a/docs/content/Production-Cluster-Configuration.md +++ b/docs/content/Production-Cluster-Configuration.md @@ -92,6 +92,7 @@ JVM Configuration: -XX:+PrintGCTimeStamps -Duser.timezone=UTC -Dfile.encoding=UTF-8 +-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Djava.io.tmpdir=/mnt/tmp ``` @@ -147,6 +148,7 @@ JVM Configuration: -XX:+PrintGCTimeStamps -Duser.timezone=UTC -Dfile.encoding=UTF-8 +-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Djava.io.tmpdir=/mnt/tmp ``` @@ -210,6 +212,7 @@ JVM Configuration: -XX:+PrintGCTimeStamps -Duser.timezone=UTC -Dfile.encoding=UTF-8 +-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Djava.io.tmpdir=/mnt/tmp ``` @@ -249,6 +252,7 @@ JVM Configuration: -XX:+PrintGCTimeStamps -Duser.timezone=UTC -Dfile.encoding=UTF-8 +-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Djava.io.tmpdir=/mnt/tmp ``` @@ -301,6 +305,7 @@ JVM Configuration: -XX:+PrintGCTimeStamps -Duser.timezone=UTC -Dfile.encoding=UTF-8 +-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Djava.io.tmpdir=/mnt/tmp -Dcom.sun.management.jmxremote.port=17071 diff --git a/docs/content/Simple-Cluster-Configuration.md b/docs/content/Simple-Cluster-Configuration.md index 30559066f87..e209ea6310c 100644 --- a/docs/content/Simple-Cluster-Configuration.md +++ b/docs/content/Simple-Cluster-Configuration.md @@ -32,6 +32,7 @@ Configuration: -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 +-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager -Ddruid.indexer.queue.startDelay=PT0M -Ddruid.indexer.runner.javaOpts="-server -Xmx1g" @@ -56,6 +57,7 @@ Configuration: -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 +-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager druid.coordinator.startDelay=PT70s ``` @@ -77,6 +79,7 @@ Configuration: -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 +-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager druid.server.maxSize=10000000000 @@ -103,6 +106,7 @@ Configuration: -Xmx256m -Duser.timezone=UTC -Dfile.encoding=UTF-8 +-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager druid.processing.buffer.sizeBytes=100000000 druid.processing.numThreads=1 diff --git a/pom.xml b/pom.xml index 1c08f0e94cf..33adea93305 100644 --- a/pom.xml +++ b/pom.xml @@ -70,7 +70,7 @@ 9.2.5.v20141112 0.3.5 2.4.4 - 2.1 + 2.2 1.7.10 @@ -611,7 +611,7 @@ maven-surefire-plugin - -Duser.language=en -Duser.country=US + -Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 -Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager true diff --git a/server/pom.xml b/server/pom.xml index 7d6275618b5..dc6bd021986 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -67,6 +67,13 @@ org.apache.curator curator-framework + + + + log4j + log4j + + org.apache.curator