[ https://issues.apache.org/jira/browse/ZOOKEEPER-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15826291#comment-15826291 ]
ASF GitHub Bot commented on ZOOKEEPER-2659: ------------------------------------------- Github user jvz commented on a diff in the pull request: https://github.com/apache/zookeeper/pull/148#discussion_r96442072 --- Diff: ivy.xml --- @@ -41,13 +41,20 @@ <dependencies> <dependency org="org.slf4j" name="slf4j-api" rev="1.7.5"/> - <dependency org="org.slf4j" name="slf4j-log4j12" rev="1.7.5" transitive="false"/> + + <dependency org="org.apache.logging.log4j" name="log4j-api" rev="2.7" transitive="false"/> + <dependency org="org.apache.logging.log4j" name="log4j-core" rev="2.7" transitive="false"/> + <dependency org="org.apache.logging.log4j" name="log4j-slf4j-impl" rev="2.7" transitive="false"/> + + <!-- disruptor for Async loggers --> + <dependency org="com.lmax" name="disruptor" rev="3.3.0" transitive="false"/> --- End diff -- At first I read that it was version 3.0.0, sorry. Anyways, log4j 2 tends to stick with the latest versions of dependencies, so I'd recommend 3.3.6. > Use log4j2 as a logging framework as log4j 1.X is now deprecated > ---------------------------------------------------------------- > > Key: ZOOKEEPER-2659 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2659 > Project: ZooKeeper > Issue Type: Wish > Reporter: Pushkar Raste > Assignee: Pushkar Raste > Priority: Minor > Attachments: zk_log4j2_migration.patch > > > Zookeeper currently uses {{log4j 1.X}} as the default logging framework. > {{log4j 1.X}} is now deprecated http://logging.apache.org/log4j/1.2/ > This ticket is to track efforts to move zookeeper to {{log4j2}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)