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 f43d3c4bde ARTEMIS-4207 Removing logger.info added by accident 
(temporary debug)
f43d3c4bde is described below

commit f43d3c4bdea853e17bf4f11c3971869d98833655
Author: Clebert Suconic <[email protected]>
AuthorDate: Wed Mar 15 18:01:03 2023 -0400

    ARTEMIS-4207 Removing logger.info added by accident (temporary debug)
---
 .../apache/activemq/artemis/core/postoffice/impl/PostOfficeImpl.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/PostOfficeImpl.java
 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/PostOfficeImpl.java
index c5b08c01b7..c213812d8a 100644
--- 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/PostOfficeImpl.java
+++ 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/PostOfficeImpl.java
@@ -1396,7 +1396,9 @@ public class PostOfficeImpl implements PostOffice, 
NotificationListener, Binding
          // arrived the target node
          // as described on https://issues.jboss.org/browse/JBPAPP-6130
          final Message copyRedistribute = 
message.copy(storageManager.generateID());
-         logger.info("Message {} being copied as {}", message.getMessageID(), 
copyRedistribute.getMessageID());
+         if (logger.isDebugEnabled()) {
+            logger.debug("Message {} being copied as {}", 
message.getMessageID(), copyRedistribute.getMessageID());
+         }
          copyRedistribute.setAddress(message.getAddress());
 
          RoutingContext context = new RoutingContextImpl(tx);

Reply via email to