From 97d4f3f6ad678588a3b4a67ac908e6123c8251e7 Mon Sep 17 00:00:00 2001 From: PascalSchumacher Date: Thu, 24 Aug 2023 08:08:16 +0200 Subject: [PATCH] AdvisoryBroker#handleFireFailure: Remove unused placeholder in warn log message. All information is already logged at warn level, so remove additional debug log message. --- .../main/java/org/apache/activemq/advisory/AdvisoryBroker.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/activemq-broker/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java b/activemq-broker/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java index 7beb3995de..e71dd92408 100644 --- a/activemq-broker/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java +++ b/activemq-broker/src/main/java/org/apache/activemq/advisory/AdvisoryBroker.java @@ -851,8 +851,7 @@ public class AdvisoryBroker extends BrokerFilter { } private void handleFireFailure(String message, Throwable cause) { - LOG.warn("Failed to fire {} advisory, reason: {}", message, cause); - LOG.debug("{} detail: {}", message, cause, cause); + LOG.warn("Failed to fire {} advisory", message, cause); } protected void fireAdvisory(ConnectionContext context, ActiveMQTopic topic, Command command) throws Exception {