From 33e13ebc140d60da696476c370a107d37d84da01 Mon Sep 17 00:00:00 2001 From: Michal Petrov Date: Thu, 17 Jun 2021 15:00:31 +0200 Subject: [PATCH] ARTEMIS-3356: fix debug message arguments --- .../org/apache/activemq/artemis/core/paging/impl/Page.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/Page.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/Page.java index 38ac0b402c..6667d05c16 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/Page.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/paging/impl/Page.java @@ -253,8 +253,8 @@ public final class Page implements Comparable { public synchronized List read(StorageManager storage, boolean onlyLargeMessages) throws Exception { if (logger.isDebugEnabled()) { - logger.debugf("reading page %d on address = %s onlyLargeMessages = %b", storeName, pageId, - storage, onlyLargeMessages); + logger.debugf("reading page %d on address = %s onlyLargeMessages = %b", + new Object[] {pageId, storeName, onlyLargeMessages}); } if (!file.isOpen()) {