cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-7265] Symmetric INFO logging for registering and unregistering MBeans, patch from Tadayoshi Sato applied, This closes #241
Date Fri, 03 Mar 2017 14:57:37 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 61e60c186 -> cbd4e7fa6


[CXF-7265] Symmetric INFO logging for registering and unregistering MBeans, patch from Tadayoshi
Sato applied, This closes #241


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/cbd4e7fa
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/cbd4e7fa
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/cbd4e7fa

Branch: refs/heads/master
Commit: cbd4e7fa6b3e15d39f12d39a448ee3742d5d3efe
Parents: 61e60c1
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Mar 3 14:57:22 2017 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Mar 3 14:57:22 2017 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/management/jmx/InstrumentationManagerImpl.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/cbd4e7fa/rt/management/src/main/java/org/apache/cxf/management/jmx/InstrumentationManagerImpl.java
----------------------------------------------------------------------
diff --git a/rt/management/src/main/java/org/apache/cxf/management/jmx/InstrumentationManagerImpl.java
b/rt/management/src/main/java/org/apache/cxf/management/jmx/InstrumentationManagerImpl.java
index f922a13..c916d29 100644
--- a/rt/management/src/main/java/org/apache/cxf/management/jmx/InstrumentationManagerImpl.java
+++ b/rt/management/src/main/java/org/apache/cxf/management/jmx/InstrumentationManagerImpl.java
@@ -260,6 +260,9 @@ public class InstrumentationManagerImpl extends JMXConnectorPolicyType
             return;
         }
 
+        if (LOG.isLoggable(Level.INFO)) {
+            LOG.info("unregistering MBean " + name);
+        }
         busMBeans.remove(name);
         mbs.unregisterMBean(name);
     }


Mime
View raw message