Siddharth Seth created TEZ-2222:
-----------------------------------

             Summary: 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


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
(v6.3.4#6332)

Reply via email to