Lower UnboundedDequeBasedControlAwareMailbox logging 93/59193/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 19 Jun 2017 11:53:26 +0000 (13:53 +0200)
committerTom Pantelis <tompantelis@gmail.com>
Mon, 19 Jun 2017 20:28:54 +0000 (20:28 +0000)
Using debug logging seems excessive, leading to a lot of messages
at debug level. I think we can downgrade to trace instead.

Change-Id: I2a7f87760a1eefe9794eac3b4025b6a3891c30a3
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 27193873ccddbdc8126a24cdb9b0536c5e98ae5f)

opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/UnboundedDequeBasedControlAwareMailbox.java

index 46c42ed..3093030 100644 (file)
@@ -74,12 +74,12 @@ public class UnboundedDequeBasedControlAwareMailbox implements MailboxType,
         @Override
         public void enqueueFirst(ActorRef actor, Envelope envelope) {
             final Object message = envelope.message();
-            LOG.debug("enqueueFirst: actor {}, message type: {}", actor, message.getClass());
+            LOG.trace("enqueueFirst: actor {}, message type: {}", actor, message.getClass());
             if (message instanceof ControlMessage) {
-                LOG.debug("Adding {} to the ControlMessage queue", message.getClass());
+                LOG.trace("Adding {} to the ControlMessage queue", message.getClass());
                 controlQueue.addFirst(envelope);
             } else {
-                LOG.debug("Adding {} to the normal queue", message.getClass());
+                LOG.trace("Adding {} to the normal queue", message.getClass());
                 queue.addFirst(envelope);
             }
         }

©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.