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] [Created] (HADOOP-15015) TestConfigurationFieldsBase to use SLF4J for logging
Date Fri, 03 Nov 2017 15:00:02 GMT
Steve Loughran created HADOOP-15015:
---------------------------------------

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


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