From a66b816a18d148bd2692e2e6754c0e67820f4ffd Mon Sep 17 00:00:00 2001 From: Martyn Taylor Date: Fri, 16 Jun 2017 11:48:18 +0100 Subject: [PATCH] ARTEMIS-1233 Fix log level in logger message --- .../artemis/core/server/ActiveMQServerLogger.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java index e3f37ce717..ed2c862196 100644 --- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java +++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java @@ -342,6 +342,10 @@ public interface ActiveMQServerLogger extends BasicLogger { @Message(id = 221058, value = "resetting Journal File size from {0} to {1} to fit with alignment of {2}", format = Message.Format.MESSAGE_FORMAT) void invalidJournalFileSize(int journalFileSize, int fileSize, int alignment); + @LogMessage(level = Logger.Level.INFO) + @Message(id = 221059, value = "Deleting old data directory {0} as the max folders is set to 0", format = Message.Format.MESSAGE_FORMAT) + void backupDeletingData(String oldPath); + @LogMessage(level = Logger.Level.WARN) @Message(id = 222000, value = "ActiveMQServer is being finalized and has not been stopped. Please remember to stop the server before letting it go out of scope", format = Message.Format.MESSAGE_FORMAT) @@ -1146,10 +1150,6 @@ public interface ActiveMQServerLogger extends BasicLogger { format = Message.Format.MESSAGE_FORMAT) void activateSharedStoreSlaveFailed(@Cause Throwable e); - @LogMessage(level = Logger.Level.INFO) - @Message(id = 222190, value = "Deleting old data directory {0} as the max folders is set to 0", format = Message.Format.MESSAGE_FORMAT) - void backupDeletingData(String oldPath); - @LogMessage(level = Logger.Level.WARN) @Message(id = 222191, value = "Could not find any configured role for user {0}.",