Fix AbstractMXBean logging 67/72367/1
authorStephen Kitt <skitt@redhat.com>
Mon, 28 May 2018 15:37:30 +0000 (17:37 +0200)
committerStephen Kitt <skitt@redhat.com>
Mon, 28 May 2018 15:37:30 +0000 (17:37 +0200)
Exceptions shouldn’t have an SLF4J place-holder.

Change-Id: Ied7338e37828903fdde8ec56f43177dfe041be61
Signed-off-by: Stephen Kitt <skitt@redhat.com>
opendaylight/md-sal/sal-common-util/src/main/java/org/opendaylight/controller/md/sal/common/util/jmx/AbstractMXBean.java

index 3cf6d9f..8b8b0b8 100644 (file)
@@ -102,7 +102,7 @@ public abstract class AbstractMXBean {
                 try {
                     unregisterMBean(mbeanName);
                 } catch (MBeanRegistrationException | InstanceNotFoundException e) {
-                    LOG.warn("unregister mbean {} resulted in exception {} ", mbeanName, e);
+                    LOG.warn("unregister mbean {} resulted in exception", mbeanName, e);
                 }
             }
             server.registerMBean(this, mbeanName);

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.