[logback-dev] [JIRA] Updated: (LBCLASSIC-226) Add mapping for Classic-Level OFF to the corresponding JUL-Level in ch.qos.logback.classic.jul.JULHelper

Ceki Gulcu (JIRA) noreply-jira at qos.ch
Wed Oct 20 16:32:51 CEST 2010


     [ http://jira.qos.ch/browse/LBCLASSIC-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ceki Gulcu updated LBCLASSIC-226:
---------------------------------

    Due Date: 22/Oct/10

> Add mapping for Classic-Level OFF to the corresponding JUL-Level in ch.qos.logback.classic.jul.JULHelper
> --------------------------------------------------------------------------------------------------------
>
>                 Key: LBCLASSIC-226
>                 URL: http://jira.qos.ch/browse/LBCLASSIC-226
>             Project: logback-classic
>          Issue Type: Bug
>          Components: Other
>            Reporter: Christian Brensing
>            Assignee: Ceki Gulcu
>
> If I use the new LevelChangePropagator (since 0.9.25) with a LOGBack-Level set to OFF, an IllegalArgumentException will be thrown by ch.qos.logback.classic.jul.JULHelper.asJULLevel(Level lbLevel), which causes my RCP application to crash on startup. As the OFF-Level is supported by both LOGBack and JUL, please add a corresponding mapping in that method.
> case Level.OFF_INT:
>         return java.util.logging.Level.OFF;
> (i) My current workaround is to completely rewrite the LevelChangePropagator class in a LOGBack-Groovy-Configuration.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list