[
https://issues.apache.org/jira/browse/HADOOP-16206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16823772#comment-16823772
]
Akira Ajisaka commented on HADOOP-16206:
----------------------------------------
Attached wip.001 patch
* Add -Plog4j2 profile to exclude slf4j-log4j12.jar (slf4j -> log4j1 bridge)
from classpath
* Add log4j2.properties
Notice:
* The scope of log4j-slf4j-impl (slf4j -> log4j2 bridge) is set to "provided"
in all the modules, to avoid the possible leak of log4j-slf4j-impl jar file to
the classpath of downstream projects.
* Now log4j-slf4j-impl is not in the classpath but in share/tool/lib directory.
I'd like to add the bridge under share/common/lib to include in the classpath,
but now I don't know how to do this.
> Migrate from Log4j1 to Log4j2
> -----------------------------
>
> Key: HADOOP-16206
> URL: https://issues.apache.org/jira/browse/HADOOP-16206
> Project: Hadoop Common
> Issue Type: Sub-task
> Reporter: Akira Ajisaka
> Assignee: Akira Ajisaka
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]