Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-454

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

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 0.9.28
    • None
    • None

    Description

      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:

      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@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@b92dc2 - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
      20:36:58,402 |-INFO in ch.qos.logback.classic.gaffer.ConfigurationDelegate@b92dc2 - Naming appender as [CONSOLE]
      

      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.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            evgenyg Evgeny Goldin
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: