From 420f386fd2e276db3198ab1847243691fee34659 Mon Sep 17 00:00:00 2001 From: Clebert Suconic Date: Mon, 10 Jul 2023 10:59:23 -0400 Subject: [PATCH] ARTEMIS-4357 Replacing logger(222188).warn by a logger.debug --- .../apache/activemq/artemis/core/server/impl/QueueImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java index c3ad85eb38..7ded73cf11 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/QueueImpl.java @@ -2780,7 +2780,9 @@ public class QueueImpl extends CriticalComponentImpl implements Queue { return true; } - ActiveMQServerLogger.LOGGER.unableToFindTargetQueue(originalMessageQueue); + if (logger.isDebugEnabled()) { + logger.debug("QueueImpl::retryMessages cannot find targetQueue for message {}", ref.getMessage()); + } return false; } });