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

Logback complains if logback.xml is in a jar

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • logback-core
    • None

    Description

      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.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            akiraly Attila Király
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: