Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-12341 Overhaul logging; log4j2, machine-readable, etc.
  3. HBASE-25696

Need to initialize SLF4JBridgeHandler in jul-to-slf4j for redirecting jul to slf4j

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      When testing HBASE-22120 with logging exporter, the trace log messages were all redirected to console...

      They use jul to log the spans and we have jul-to-slf4j on classpath.

      Then I found out that we need to call SLF4JBridgeHandler.install...

      Let me find a way to do this.

      Attachments

        Activity

          People

            zhangduo Duo Zhang
            zhangduo Duo Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: