[ https://issues.apache.org/jira/browse/HADOOP-14587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072146#comment-16072146 ]
Akira Ajisaka commented on HADOOP-14587: ---------------------------------------- Thank you for the update. {code:title=GenericTestUtils.java} + public static void setRootLogLevel(org.slf4j.event.Level level) { + setLogLevel(toLog4j(getLogger("org")), Level.toLevel(level.toString())); + } {code} In this method, {{setLogLevel(LogManager.getRootLogger(), Level.toLevel(level.toString()));}} is straightforward to me. > Use GenericTestUtils.setLogLevel when available in hadoop-common > ---------------------------------------------------------------- > > Key: HADOOP-14587 > URL: https://issues.apache.org/jira/browse/HADOOP-14587 > Project: Hadoop Common > Issue Type: Sub-task > Reporter: Wenxin He > Assignee: Wenxin He > Attachments: HADOOP-14587.001.patch, HADOOP-14587.002.patch > > > Based on Brahma's comment in HADOOP-14296, it's better to use > GenericTestUtils.setLogLevel as possible to make the migration easier. > Based on Akira Ajisaka's comment in HADOOP-14549, create a separate jira for > hadoop-common change. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org