[logback-dev] [JIRA] Created: (LBCLASSIC-215) Status Listener configured from Java System property is lost when Configuration file has scan="true" attribute.

Brett Walker (JIRA) noreply-jira at qos.ch
Tue Jul 6 14:24:16 CEST 2010


Status Listener configured from Java System property is lost when Configuration file has scan="true" attribute.
---------------------------------------------------------------------------------------------------------------

                 Key: LBCLASSIC-215
                 URL: http://jira.qos.ch/browse/LBCLASSIC-215
             Project: logback-classic
          Issue Type: Bug
          Components: joran
    Affects Versions: 0.9.24
         Environment: Windows XP (SP3), Java 1.6 update 20
            Reporter: Brett Walker
            Assignee: Logback dev list


When a status listener is registered by setting the "logback.statusListenerClass" Java system property, such as 

    java -Dlogback.statusListenerClass=ch.qos.logback.core.status.OnConsoleStatusListener ...

AND

The logback configuration file is set to automatically re-configure, such as

    <configuration scan="true">
      ...
    </configuration>

The registered status listener is lost and not re-established whenever the configuration file is reloaded due to a detected change.

-- 
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