[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15206883#comment-15206883
 ] 

Chris Nauroth commented on ZOOKEEPER-2342:
------------------------------------------

bq. We don't have to revert the usage of slf4j; just the choice of default 
bindings needs to be revisited.

Yes, this is what was done in ZOOKEEPER-2393.  All of the code still calls 
SLF4J as the logging API, and we'll stick to that in future patches too.  We 
just reverted the part that omitted the SLF4J Log4J 1 binding from the distro.

> Migrate to Log4J 2.
> -------------------
>
>                 Key: ZOOKEEPER-2342
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2342
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Chris Nauroth
>            Assignee: Chris Nauroth
>             Fix For: 3.6.0
>
>         Attachments: ZOOKEEPER-2342.001.patch
>
>
> ZOOKEEPER-1371 removed our source code dependency on Log4J.  It appears that 
> this also removed the Log4J SLF4J binding jar from the runtime classpath.  
> Without any SLF4J binding jar available on the runtime classpath, it is 
> impossible to write logs.
> This JIRA investigated migration to Log4J 2 as a possible path towards 
> resolving the bug introduced by ZOOKEEPER-1371.  At this point, we know this 
> is not feasible short-term.  This JIRA remains open to track long-term 
> migration to Log4J 2.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to