From c99d061784683d91775122e9c4c22ebe0fea9c8c Mon Sep 17 00:00:00 2001 From: Robbie Gemmell Date: Thu, 25 Aug 2022 16:56:49 +0100 Subject: [PATCH] ARTEMIS-3843: fix audit logging method to call right logger, tweak message --- .../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 5bcdad238a..990b6ebd3f 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 @@ -2970,11 +2970,11 @@ public interface AuditLogger extends BasicLogger { void addConnector(String user, Object source, Object... args); static void removeConnector(Object source, Object... args) { - BASE_LOGGER.addConnector(getCaller(), source, arrayToString(args)); + BASE_LOGGER.removeConnector(getCaller(), source, arrayToString(args)); } @LogMessage(level = Logger.Level.INFO) - @Message(id = 601763, value = "User {0} is remove a connector on target resource: {1} {2}", format = Message.Format.MESSAGE_FORMAT) + @Message(id = 601763, value = "User {0} is removing a connector on target resource: {1} {2}", format = Message.Format.MESSAGE_FORMAT) void removeConnector(String user, Object source, Object... args); static void deliverScheduledMessage(Object source, Object... args) {