You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Bryan Beaudreault (Jira)" <ji...@apache.org> on 2022/09/27 13:43:00 UTC

[jira] [Resolved] (HBASE-27394) LogLevel.Servlet not working in 2.5.0

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

Bryan Beaudreault resolved HBASE-27394.
---------------------------------------
    Resolution: Not A Problem

> LogLevel.Servlet not working in 2.5.0
> -------------------------------------
>
>                 Key: HBASE-27394
>                 URL: https://issues.apache.org/jira/browse/HBASE-27394
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.5.0
>            Reporter: Bryan Beaudreault
>            Priority: Major
>
> I'm upgrading our servers to hbase 2.5.0 and noticed that the LogLevel.Servlet no longer works. I am guessing this is due to the log4j2 change.
> According to the servlet output, it sees log class as {{org.slf4j.impl.Log4jLoggerAdapter}} but the log levels seem totally disconnected from reality — setting a log level has no effect, and checking the loglevel of a logger that i had configured in my log4j.properties shows the wrong value. Logging itself seems to be using my log4j.properties correctly, but the LogLevel.Servlet sees and sets a different view
> I tried moving aside the {{log4j2.properties}} and also separately tried moving aside the {{{}log4j.properties{}}}, neither helped



--
This message was sent by Atlassian Jira
(v8.20.10#820010)