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

Akira Ajisaka commented on HADOOP-14296:
----------------------------------------

bq. we can use GenericTestUtils.setLogLevel(org.slf4j.Logger logger, Level 
level) to do this
Thank you for the information! It's good to use this method to set log level, 
and that way we need to update only the method when upgrading from log4j1 to 
log4j2.

bq. Unfortunately TestHadoopArchives,TestSleepJob,TestGridmixSubmission and 
TestLoadJob can't used as they depends on groups and gridmix which will use 
commons logging.
Adding GenericTestUtils.setLoglevel that accepts commons logging API seems fine.

> Move logging APIs over to slf4j in hadoop-tools
> -----------------------------------------------
>
>                 Key: HADOOP-14296
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14296
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Akira Ajisaka
>            Assignee: Akira Ajisaka
>         Attachments: HADOOP-14296.01.patch, HADOOP-14296.02.patch, 
> HADOOP-14296.03.patch, HADOOP-14296.04.patch, HADOOP-14296-branch-2.01.patch
>
>




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

Reply via email to