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

Better error checking in case the config file tries to set the level of the ROOT logger to NULL

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3.0-beta0
    • 1.3.0-alpha16
    • Joran
    • None

    Description

      The level of the root logger cannot be set to NULL or INHERITED.

      In case the user tries to do so, Joran should provide better error handling.

      Possible config files:

      <root level="NULL"/>
      
      <root>
       <level value="NULL"/>
      </root>
      
      <logger name="ROOT" level="NULL"/>
      
      <logger name="ROOT">
         <level value="NULL"/>
      </logger>
      

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            ceki Ceki Gülcü
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: