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

TestConfigurationFieldsBase to use SLF4J for logging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • conf, test
    • 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

        1. HADOOP-15015-001.patch
          28 kB
          Steve Loughran

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: