[logback-dev] [JIRA] Created: (LBCLASSIC-259) ERROR: URL [jar:file:/something.jar!/logback.groovy] is not of type file

Evgeny Goldin (JIRA) noreply-jira at qos.ch
Fri Mar 25 23:24:51 CET 2011


ERROR: URL [jar:file:/something.jar!/logback.groovy] is not of type file
------------------------------------------------------------------------

                 Key: LBCLASSIC-259
                 URL: http://jira.qos.ch/browse/LBCLASSIC-259
             Project: logback-classic
          Issue Type: Bug
    Affects Versions: 0.9.28
            Reporter: Evgeny Goldin
            Assignee: Logback dev list


Please, see this thread: http://qos.ch/pipermail/logback-user/2011-March/002234.html. 
When *{{"logback.groovy"}}* is packed in a jar file, Logback displays an error message when it starts:

{code}
20:36:58,117 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.groovy] at [jar:file:/C:/Users/evgeny/.m2/repository/.../gcommons-0.5.3-SNAPSHOT.jar!/logback.groovy]
20:36:58,122 |-ERROR in ch.qos.logback.core.joran.spi.ConfigurationWatchList at 139d891 - URL [jar:file:/C:/Users/evgeny/.m2/repository/../gcommons-0.5.3-SNAPSHOT.jar!/logback.groovy] is not of type file
20:36:58,401 |-INFO in ch.qos.logback.classic.gaffer.ConfigurationDelegate at b92dc2 - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
20:36:58,402 |-INFO in ch.qos.logback.classic.gaffer.ConfigurationDelegate at b92dc2 - Naming appender as [CONSOLE]
{code}

Not only that it warns about something that is not an error, it causes other info messages to be displayed as well, which I'd like to avoid and start application silently.

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