[logback-dev] [JIRA] (LOGBACK-1435) Logback is case sensitive for configuration file extension

QOS.CH (JIRA) noreply-jira at qos.ch
Mon Oct 29 20:16:00 CET 2018


Michael Banks created LOGBACK-1435:
--------------------------------------

             Summary: Logback is case sensitive for configuration file extension
                 Key: LOGBACK-1435
                 URL: https://jira.qos.ch/browse/LOGBACK-1435
             Project: logback
          Issue Type: Bug
          Components: logback-core
    Affects Versions: 1.2.3
         Environment: Operating System: Windows
Platform: PC

            Reporter: Michael Banks
            Assignee: Logback dev list


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.

 

 



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the logback-dev mailing list