hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-15015) TestConfigurationFieldsBase to use SLF4J for logging
Date Fri, 03 Nov 2017 16:35:00 GMT

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

Steve Loughran commented on HADOOP-15015:
-----------------------------------------

I've just done this while debugging something else...will submit in a moment.

> TestConfigurationFieldsBase to use SLF4J for logging
> ----------------------------------------------------
>
>                 Key: HADOOP-15015
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15015
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: conf, test
>    Affects Versions: 3.0.0
>            Reporter: Steve Loughran
>            Assignee: Bharat Viswanadham
>
> {{TestConfigurationFieldsBase}} has a protected "configDebug" field used to turn logging
on/off
> {code}
>       if (configDebug) {
>         System.out.println("Field: " + f);
>       }
> {code}
> Presumably its there to allow people with code access to debug their classes. But if
we switch to SLF4J you get controllable logging @ runtime.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message