Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7265

Symmetric INFO logging for registering and unregistering MBeans

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.10
    • Fix Version/s: 3.0.13, 3.1.11, 3.2.0
    • Component/s: Management
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      InstrumentationManagerImpl outputs INFO logs upon MBean registration events like this:

      | INFO  | p1825363260-1586 | InstrumentationManagerImpl       | 440 - org.apache.cxf.cxf-rt-management - 3.1.10 | registering MBean org.apache.cxf:bus.id=camel-example-cxf-blueprint-cxf34364476,type=Bus.Service.Endpoint,service="{http://reportincident.example.camel.apache.org}ReportIncidentEndpointService",port="ReportIncidentEndpoint",instance.id=472413293: org.apache.cxf.endpoint.ManagedEndpoint@255c4cdb
      

      However, it doesn't output equivalent logs for unregistration events. This symmetry in logging will improve ease of debugging around JMX behaviours in CXF.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sergey_beryozkin Sergey Beryozkin
                Reporter:
                tadayosi Tadayoshi Sato
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: