You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2021/03/25 09:09:00 UTC

[jira] [Updated] (HBASE-25696) Need to initialize SLF4JBridgeHandler in jul-to-slf4j for redirecting jul to slf4j

     [ https://issues.apache.org/jira/browse/HBASE-25696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Duo Zhang updated HBASE-25696:
------------------------------
    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.

> Need to initialize SLF4JBridgeHandler in jul-to-slf4j for redirecting jul to slf4j
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-25696
>                 URL: https://issues.apache.org/jira/browse/HBASE-25696
>             Project: HBase
>          Issue Type: Sub-task
>          Components: logging
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)