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 e9b5931227 ARTEMIS-4278 Removing System.out left by accident
e9b5931227 is described below

commit e9b59312271809bc96f90df058c421a87c9e5c7c
Author: Clebert Suconic <[email protected]>
AuthorDate: Fri Jun 9 08:49:43 2023 -0400

    ARTEMIS-4278 Removing System.out left by accident
---
 .../activemq/artemis/core/paging/impl/PagingManagerImpl.java       | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/PagingManagerImpl.java
 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/PagingManagerImpl.java
index 21e1e9e3f9..63b02fe92f 100644
--- 
a/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/PagingManagerImpl.java
+++ 
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/PagingManagerImpl.java
@@ -580,7 +580,12 @@ public final class PagingManagerImpl implements 
PagingManager {
       Map<Long, PageTransactionInfo> transactionsSet = new LongObjectHashMap();
       // making a copy
       transactions.forEach(transactionsSet::put);
-      transactionsSet.forEach((a, b) -> System.out.println(a + " = " + b));
+
+      if (logger.isDebugEnabled()) {
+         logger.debug("Page Transactions during rebuildCounters:");
+         transactionsSet.forEach((a, b) -> logger.debug("{} = {}", a, b));
+      }
+
       stores.forEach((address, pgStore) -> {
          PageCounterRebuildManager rebuildManager = new 
PageCounterRebuildManager(this, pgStore, transactionsSet, storedLargeMessages);
          logger.debug("Setting destination {} to rebuild counters", address);

Reply via email to