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

Logging stops if invalid xml configuration is loaded by scanner

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.28
    • Fix Version/s: 0.9.30
    • Component/s: None
    • Labels:
      None

      Description

      When logging with scan="true" it is possible to stop all logging of an application silently.

      Steps to reproduce:

      • start an application with valid configuration and scan=true
      • break the logback.xml (leave out a quote or something)
        -> log goes silent

      Expected behavior:
      Logger fails to load new config and keeps running on the old configuration (like when valid xml, but invalid configuration is loaded).

        Attachments

          Activity

            People

            • Assignee:
              ceki Ceki Gülcü
              Reporter:
              iwein Iwein Fuld
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: