[
https://issues.apache.org/jira/browse/YARN-7243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16190866#comment-16190866
]
Akira Ajisaka commented on YARN-7243:
-------------------------------------
Thanks [~Cyl] for the work! The usages of LogManager in tests can be replaced
as follows:
{code}
+ GenericTestUtils.setRootLogLevel(Level.DEBUG);
- org.apache.log4j.Logger rootLogger = LogManager.getRootLogger();
- rootLogger.setLevel(Level.DEBUG);
{code}
In FairSchedulerEventLog.java, I'm okay with leave it unchanged because this
class is strongly depends on Log4J1 implementation. We need to remove or update
this when updating from Log4J1 to Log4J2.
> Moving logging APIs over to slf4j in hadoop-yarn-server-resourcemanager
> -----------------------------------------------------------------------
>
> Key: YARN-7243
> URL: https://issues.apache.org/jira/browse/YARN-7243
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Yeliang Cang
> Assignee: Yeliang Cang
> Attachments: YARN-7243.001.patch, YARN-7243.002.patch,
> YARN-7243.003.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]