Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15015

TestConfigurationFieldsBase to use SLF4J for logging

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: conf, test
    • Labels:
      None

      Description

      TestConfigurationFieldsBase has a protected "configDebug" field used to turn logging on/off

            if (configDebug) {
              System.out.println("Field: " + f);
            }
      

      Presumably its there to allow people with code access to debug their classes. But if we switch to SLF4J you get controllable logging @ runtime.

        Attachments

          Activity

            People

            • Assignee:
              stevel@apache.org Steve Loughran
              Reporter:
              stevel@apache.org Steve Loughran
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: