Log4j 2
  1. Log4j 2
  2. LOG4J2-530

JMX Client GUI should dynamically update when LoggerContext MBeans are registered/unregistered in MBean server

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta9, 2.0-rc1
    • Fix Version/s: 2.0-rc1
    • Component/s: JMX
    • Labels:
      None

      Description

      Currently the Log4J2 JMX Client GUI will take a snapshot of the MBean server state when the client GUI is started. The GUI displays a tab for each LoggerContextAdmin MBean that existed at startup time.

      This is a static snapshot: these tabs do not change if the LoggerContext MBean is unregistered while the GUI is active. Also, if additional LoggerContext MBeans are registered after the GUI was started, the GUI will not be "aware" of this and will not display new tabs for the added LoggerContext.

      This ticket is a request to dynamically update the GUI in response to LoggerContext MBeans being registered/unregistered after the GUI was started.

      • newly added LoggerContexts should result in a new tab being added for each new LoggerContext
      • if MBeans for a LoggerContext are unregistered from the server, the corresponding tab should be removed from the GUI

        Issue Links

          Activity

          Remko Popma made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Remko Popma made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 2.0-rc1 [ 12325011 ]
          Resolution Fixed [ 1 ]
          Hide
          Remko Popma added a comment -

          Fixed in revision 1565741.

          Show
          Remko Popma added a comment - Fixed in revision 1565741.
          Remko Popma made changes -
          Field Original Value New Value
          Link This issue is related to LOG4J2-500 [ LOG4J2-500 ]
          Remko Popma created issue -

            People

            • Assignee:
              Remko Popma
              Reporter:
              Remko Popma
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development