[logback-dev] [JIRA] Created: (LBCORE-198) Logback complains if logback.xml is in a jar

Attila Király (JIRA) noreply-jira at qos.ch
Mon Feb 21 20:05:51 CET 2011


Logback complains if logback.xml is in a jar
--------------------------------------------

                 Key: LBCORE-198
                 URL: http://jira.qos.ch/browse/LBCORE-198
             Project: logback-core
          Issue Type: Bug
          Components: Joran
    Affects Versions: 0.9.28
            Reporter: Attila Király
            Assignee: Logback dev list
            Priority: Minor


If logback.xml is not available as a file (for example it is in a jar in the lib folder of a webapp) logback logs an error during configuration. The reason is that in ch.qos.logback.core.joran.spi.ConfigurationWatchList.convertToFile(URL) method it tries to convert the url to file and if it fails it marks this as an error. Imho it should simply silently not do anything in this case.

-- 
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