This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/main by this push:
new 97d4f3f6a AdvisoryBroker#handleFireFailure: Remove unused placeholder
in warn log message. All information is already logged at warn level, so remove
additional debug log message.
new 360a45488 Merge pull request #1042 from
PascalSchumacher/slow_consumer_log_message_superfluous_placeholder
97d4f3f6a is described below
commit 97d4f3f6ad678588a3b4a67ac908e6123c8251e7
Author: PascalSchumacher <[email protected]>
AuthorDate: Thu Aug 24 08:08:16 2023 +0200
AdvisoryBroker#handleFireFailure: Remove unused placeholder in warn log
message. All information is already logged at warn level, so remove additional
debug log message.
---
.../src/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 7beb3995d..e71dd9240 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 {