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

Logback is case sensitive for configuration file extension

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 1.5.7
    • 1.2.3
    • logback-classic
    • None
    • Operating System: Windows
      Platform: PC

    Description

      Currently, if the configuration filename does not end in 'xml' or 'groovy', the logging system will fail to initialize.  However, when attempting to run Tomcat as a service on Windows the filename is passed to the ContextInitializer as a Windows short file name where the extension is upper case (e.g. file:/C:/openedge/wrk/OEPASS~1/conf/LOGGIN~3.XML).

      The check for 'xml' or 'groovy' is not case insensitive, so the (valid) file name is rejected.

       

       

      Attachments

        Activity

          People

            logback-dev Logback dev list
            mbanks Michael Banks
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: