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

Restrict child classes from using parent logger's state

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.5, 6.0
    • None
    • 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
          3 kB
          Jason Gerlowski
        2. SOLR-8359.patch
          4 kB
          Jason Gerlowski
        3. SOLR-8359-nonfinal-values.patch
          4 kB
          Jason Gerlowski
        4. SOLR-8359.patch
          4 kB
          Yonik Seeley

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: