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

Symmetric INFO logging for registering and unregistering MBeans

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1.10
    • 3.0.13, 3.1.11, 3.2.0
    • Management
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: