Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8324 Logger Untanglement
  3. SOLR-8359

Restrict child classes from using parent logger's state

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.5, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      In SOLR-8330 we split up a lot of loggers. However, there are a few classes that still use their parent's logging state and configuration indirectly.

      HdfsUpdateLog and HdfsTransactionLog both use their parent class cached read of boolean debug = log.isDebugEnabled(), when they should check their own loggers instead.

        Attachments

        1. SOLR-8359.patch
          4 kB
          Yonik Seeley
        2. SOLR-8359-nonfinal-values.patch
          4 kB
          Jason Gerlowski
        3. SOLR-8359.patch
          4 kB
          Jason Gerlowski
        4. SOLR-8359.patch
          3 kB
          Jason Gerlowski

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mdrob Mike Drob
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: