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

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

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 0.9.24
    • logback-classic
    • None
    • Windows XP (SP3), Java 1.6 update 20

    Description

      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.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            bwalker Brett Walker
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: