Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18439

Subclasses of o.a.h.h.chaos.actions.Action all use the same logger

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      A bunch of the actions all use the same logger inherited from the super class. We should have them declare distinct loggers, either each one in class or perhaps we can do something dynamically like LogFactory.getLogger(MethodHandles.lookup().lookupClass() and drop the static modifier on the log field.

      I'm not sure that exact incantation would actually work, but the MethodHandles approach in general is how logger resolution happens in Solr and it actually works out pretty well.

      Attachments

        Issue Links

          Activity

            People

              rabikumar.kc Rabi Kumar K C
              mdrob Mike Drob
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: