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

Revert to previous configuration if configuration fails during scan

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 0.9.26
    • Fix Version/s: 0.9.28
    • Component/s: None
    • Labels:
      None

      Description

      With logback configured to scan for changes in the config file, if the change causes an error in the configuration (e.g. syntax of undefined property) the logger remains unconfigured and does not perform any future scans. The only way to reconfigure the logger is to restart the applicaiton (in the case of a webapp).

      It would be good for logback to be able to recover from such an error by reverting to the previous configuration so that logging continues and also the error in the config file may be fixed.

        Attachments

          Activity

            People

            Assignee:
            ceki Ceki Gülcü
            Reporter:
            simongdkelly@gmail.com Simon Kelly
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: