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

Logging stops if invalid xml configuration is loaded by scanner

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 0.9.30
    • 0.9.28
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: