tez-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eagles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TEZ-2222) Investigate moving to log4j2 for logging
Date Wed, 17 Oct 2018 17:27:00 GMT

    [ https://issues.apache.org/jira/browse/TEZ-2222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16653912#comment-16653912

Jonathan Eagles commented on TEZ-2222:

This is still being considered. However, there is some Hadoop dependencies and support to
consider. HADOOP-12956 references many of the difficulties including log4j12 broken in jdk9
as well as running log4j12 and log4j2 simultaneously being a problem. We will want to coordinate
with the community.

> Investigate moving to log4j2 for logging
> ----------------------------------------
>                 Key: TEZ-2222
>                 URL: https://issues.apache.org/jira/browse/TEZ-2222
>             Project: Apache Tez
>          Issue Type: Improvement
>            Reporter: Siddharth Seth
>            Priority: Blocker
> Via slf4j.
> Some bits to keep in mind
> - We have explicit code which rotates logs using direct log4j12 APIs. This should keep
working. I believe the log4j2 APIs are different here
> - API compatibility between log4j12 / log4j2 can be problematic - if both end up on the
classpath (I believe the APIs are different)
> - Hadoop dist includes a slf4j-log4j12 binding. Changing the default can result in sl4j-log4j12
and slf4j-log4j2 to co-exist by default - which could be problematic. Needs investigation.
> End of the day, we will likely need an option to use either of the two.

This message was sent by Atlassian JIRA

View raw message