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

Duo Zhang commented on HADOOP-16206:
------------------------------------

Some updates here.

I've already cleaned up all the log4j1 dependenies and start to fix the compile 
errors.

There are still lots of commons-logging dependecies, I've cleaned them too.

Another problem is async http request log setup, now we have a method in the 
code base to add async appender, but for log4j2, it is not easy to switch 
appender at runtime, the suggested way is to configure in the config file, and 
use system properties to change the appenders. Can be discussed later.

Now I'm working on implement Log4jWarningErrorMetricsAppender based on log4j2. 
The way to customize appenders are changed a lot in log4j2, I need to learn 
first. Will report back later when I have progresses.

Thanks.



> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to