From 8cd2d3c4cebc98764bac5713641a168e9979be19 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Mon, 19 Jun 2017 13:53:26 +0200 Subject: [PATCH] Lower UnboundedDequeBasedControlAwareMailbox logging 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 (cherry picked from commit 27193873ccddbdc8126a24cdb9b0536c5e98ae5f) --- .../actor/UnboundedDequeBasedControlAwareMailbox.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/UnboundedDequeBasedControlAwareMailbox.java b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/UnboundedDequeBasedControlAwareMailbox.java index 46c42ed8f5..3093030bd0 100644 --- a/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/UnboundedDequeBasedControlAwareMailbox.java +++ b/opendaylight/md-sal/sal-clustering-commons/src/main/java/org/opendaylight/controller/cluster/common/actor/UnboundedDequeBasedControlAwareMailbox.java @@ -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); } } -- 2.36.6