Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1206

org.apache.logging.log4j.core.LoggerContext#updateLoggers should call firePropertyChangeEvent

    Details

    • Type: Wish
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.6
    • Component/s: Core, JMX
    • Labels:
    • Environment:

      All

      Description

      Currently, only notifications for whole config changes are being fired (in org.apache.logging.log4j.core.LoggerContext#setConfiguration), but since particular loggers are allowed to be changed (i.e.: through JMX, which calls org.apache.logging.log4j.core.LoggerContext#updateLoggers), there should be a way to be notified about those changes too.

      The fired event should ideally contain specific information about what logger(s) changed and what change it was.

        Attachments

          Activity

            People

            • Assignee:
              jvz Matt Sicker
              Reporter:
              elrodro83 Rodrigo Merino
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: