[logback-dev] [JIRA] Created: (LBCLASSIC-228) Revert to previous configuration if configuration fails during scan

Simon Kelly (JIRA) noreply-jira at qos.ch
Wed Nov 3 11:34:51 CET 2010


Revert to previous configuration if configuration fails during scan
-------------------------------------------------------------------

                 Key: LBCLASSIC-228
                 URL: http://jira.qos.ch/browse/LBCLASSIC-228
             Project: logback-classic
          Issue Type: Improvement
    Affects Versions: 0.9.26
            Reporter: Simon Kelly
            Assignee: Logback dev list


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list