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

Misspelled Level in XML configuration leads to logs being printed in DEBUG

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.3.0-alpha1
    • 1.1.3
    • logback-classic
    • None
    •  

      Linux, CentOS.

       

       

       

    Description

      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?

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            khanna111 Gaurav Khanna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: