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 2022/07/21 20:58:43 UTC

[activemq-artemis] 21/33: reorder args to match previously out-of-order placeholders, ensure new output matches previous

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

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

commit b087b32020539aa72b83e9afee6e9b91eeb7a8d8
Author: Robbie Gemmell <ro...@apache.org>
AuthorDate: Fri Jul 15 13:56:32 2022 +0100

    reorder args to match previously out-of-order placeholders, ensure new output matches previous
---
 .../src/main/java/org/apache/activemq/artemis/logs/AuditLogger.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/artemis-commons/src/main/java/org/apache/activemq/artemis/logs/AuditLogger.java b/artemis-commons/src/main/java/org/apache/activemq/artemis/logs/AuditLogger.java
index 0a400e978d..9dae59cf7d 100644
--- a/artemis-commons/src/main/java/org/apache/activemq/artemis/logs/AuditLogger.java
+++ b/artemis-commons/src/main/java/org/apache/activemq/artemis/logs/AuditLogger.java
@@ -2341,11 +2341,11 @@ public interface AuditLogger {
    void sendMessageFailure(String user, String queueName, String sendUser);
 
    static void browseMessagesSuccess(String queueName, int numMessages) {
-      RESOURCE_LOGGER.browseMessagesSuccess(getCaller(), queueName, numMessages);
+      RESOURCE_LOGGER.browseMessagesSuccess(getCaller(), numMessages, queueName);
    }
 
    @LogMessage(id = 601725, value = "User {} browsed {} messages from queue {}", level = LogMessage.Level.INFO)
-   void browseMessagesSuccess(String user, String queueName, int numMessages);
+   void browseMessagesSuccess(String user, int numMessages, String queueName);
 
    static void browseMessagesFailure(String queueName) {
       RESOURCE_LOGGER.browseMessagesFailure(getCaller(), queueName);