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

Logback is case sensitive for configuration file extension

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.2.3
    • Fix Version/s: 1.3.0-alpha6
    • Component/s: logback-classic
    • Labels:
      None
    • Environment:

      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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: