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

Jason Wen commented on HADOOP-16206:
------------------------------------

We are also working on log4j2 migration based on hadoop 3.2.2. The approach we 
are taking is to make use of log4j-1.2-api bridge to load the current log4j1 
properties file so that they can work with the new log4j2 framework without 
config change. The hadoop codes are modified to use log4j2 api directly and the 
bridge is purely used for loading log4j1 config which may includes references 
of custom appenders based on log4j1 appender API.

Another benefit of using the bridge is it will support the backward 
compatibility case if the client provides custom log4j1 properties.

> Migrate from Log4j1 to Log4j2
> -----------------------------
>
>                 Key: HADOOP-16206
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16206
>             Project: Hadoop Common
>          Issue Type: Sub-task
>    Affects Versions: 3.3.0
>            Reporter: Akira Ajisaka
>            Assignee: Duo Zhang
>            Priority: Major
>         Attachments: HADOOP-16206-wip.001.patch
>
>
> This sub-task is to remove log4j1 dependency and add log4j2 dependency.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to