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

Viraj Jasani edited comment on HADOOP-16206 at 2/13/23 8:17 PM:
----------------------------------------------------------------

Sub-task HADOOP-18206 is completed. Thanks for the reviews!

 

I will create next sub-tasks to migrate Async loggers from "dynamically getting 
added" to log4j.properties as discussed and finalized above. This is necessary 
because log4j2 no longer supports adding async appenders programatically. This 
would include "Namenode audit logger" as well as "metric loggers" for Namenode 
and Datanode.

Once the whole Log4J2 migration is complete, in fact we should also get rid of 
async appender and directly use async logger that log4j2 provides if we see 
better perf (as the doc claims they have significant perf improvement 
https://logging.apache.org/log4j/2.x/manual/async.html).

Thanks


was (Author: vjasani):
Sub-task HADOOP-18206 is completed. Thanks for the reviews!

 

I will create next sub-tasks to migrate Async loggers from "dynamically getting 
added" to log4j.properties as discussed and finalized above. This is necessary 
because log4j2 no longer supports adding AsyncLogger programatically. This 
would include "Namenode audit logger" as well as "metric loggers" for Namenode 
and Datanode.

Thanks

> Migrate from Log4j1 to Log4j2
> -----------------------------
>
>                 Key: HADOOP-16206
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16206
>             Project: Hadoop Common
>          Issue Type: 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.10#820010)

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