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

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.1.3
    • Fix Version/s: 1.3.0
    • Component/s: logback-classic
    • Labels:
      None
    • Environment:

       

      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

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

              Dates

              • Created:
                Updated: