You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2021/07/04 19:38:02 UTC
[activemq-artemis] branch main updated: ARTEMIS-3356: fix debug
message arguments
This is an automated email from the ASF dual-hosted git repository.
jbertram 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 33e13eb ARTEMIS-3356: fix debug message arguments
new 8a13b88 This closes #3629
33e13eb is described below
commit 33e13ebc140d60da696476c370a107d37d84da01
Author: Michal Petrov <mp...@redhat.com>
AuthorDate: Thu Jun 17 15:00:31 2021 +0200
ARTEMIS-3356: fix debug message arguments
---
.../main/java/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 38ac0b4..6667d05 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<Page> {
public synchronized List<PagedMessage> 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()) {