[logback-dev] [JIRA] (LOGBACK-1288) Misspelled Level in XML configuration leads to logs being printed in DEBUG

QOS.CH (JIRA) noreply-jira at qos.ch
Thu Mar 23 05:54:00 CET 2017


Gaurav Khanna created LOGBACK-1288:
--------------------------------------

             Summary: Misspelled Level in XML configuration leads to logs being printed in DEBUG
                 Key: LOGBACK-1288
                 URL: https://jira.qos.ch/browse/LOGBACK-1288
             Project: logback
          Issue Type: Improvement
          Components: logback-classic
    Affects Versions: 1.1.3
         Environment:  

Linux, CentOS.

 

 

 
            Reporter: Gaurav Khanna
            Assignee: Logback dev list
            Priority: Minor


On misspelling the level (as in "INFO  " instead of "INFO"), the library did not throw an error (on INFO and above) and defaulted to "DEBUG". 

<logger name="chapters.configuration" *level="INFO"*/>

Was wondering if a WARNING or an ERROR is thrown in cases of such obvious cases?



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


More information about the logback-dev mailing list