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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha-1, 2.5.0, 2.4.3, 2.3.6
    • Component/s: logging
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: