[slf4j-dev] [JIRA] (SLF4J-429) jul-to-slf4j still logs OFF level

QOS.CH (JIRA) noreply-jira at qos.ch
Sun Feb 4 21:07:00 CET 2018


    [ https://jira.qos.ch/browse/SLF4J-429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19114#comment-19114 ] 

Ceki Gülcü commented on SLF4J-429:
----------------------------------

One can indeed invoke a logger with Level.OFF. However, that invocation would not trigger any further action. In particular, *no *LogRecord with level OFF would ever reach SLF4JBridgeHandler. See also  source code for java.util.Logger.log() method.



> jul-to-slf4j still logs OFF level
> ---------------------------------
>
>                 Key: SLF4J-429
>                 URL: https://jira.qos.ch/browse/SLF4J-429
>             Project: SLF4J
>          Issue Type: Bug
>          Components: jul-to-slf4j
>    Affects Versions: 1.7.25
>            Reporter: Pappy STĂNESCU
>            Assignee: Ceki Gülcü
>              Labels: logging
>
> SLF4JBridgeHandler maps java.util.logging.Level.OFF to LocationAwareLogger.ERROR_INT.
> This causes logging that has been turned off to still be logged at the ERROR level.
> See this bug at work at https://github.com/jersey/jersey/issues/3527



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the slf4j-dev mailing list