Details
-
Improvement
-
Status: Open
-
Blocker
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- relates to
-
TEZ-4039 Tez should inject dag id, query id into MDC
- Resolved