You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2024/08/28 23:00:49 UTC

(activemq-artemis) branch main updated: ARTEMIS-5010 just a better description on a log.warn

This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new 898c09cb93 ARTEMIS-5010 just a better description on a log.warn
898c09cb93 is described below

commit 898c09cb9359d08668d8aa2dd04e1a6a58c40fb6
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Wed Aug 28 18:59:05 2024 -0400

    ARTEMIS-5010 just a better description on a log.warn
---
 .../protocol/amqp/connect/mirror/AMQPMirrorControllerTarget.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/mirror/AMQPMirrorControllerTarget.java b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/mirror/AMQPMirrorControllerTarget.java
index c54a8b8f10..edc73d62e0 100644
--- a/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/mirror/AMQPMirrorControllerTarget.java
+++ b/artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/mirror/AMQPMirrorControllerTarget.java
@@ -205,7 +205,8 @@ public class AMQPMirrorControllerTarget extends ProtonAbstractReceiver implement
 
                @Override
                public void onError(int errorCode, String errorMessage) {
-                  logger.warn("error code = {} / message = {}", errorCode, errorMessage);
+                  // we are not doing any IO here, this is extremely unlikely to happen:
+                  logger.warn("IO Error code on flushing OperationContext for AMQPMirrorControllerTarget . error code = {} / message = {}", errorCode, errorMessage);
                   latch.countDown();
                }
             });


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact