Repository: activemq-artemis
Updated Branches:
  refs/heads/master 410cd91f6 -> 1af6f5c5c


Fix improper IDs in logger


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/85857ab8
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/85857ab8
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/85857ab8

Branch: refs/heads/master
Commit: 85857ab8eb1b1eca2498306239740e0e39d2acd4
Parents: 410cd91
Author: jbertram <[email protected]>
Authored: Thu Aug 4 16:23:59 2016 -0500
Committer: jbertram <[email protected]>
Committed: Fri Aug 5 17:09:33 2016 -0500

----------------------------------------------------------------------
 .../core/server/ActiveMQServerLogger.java       | 33 ++++++++++----------
 1 file changed, 16 insertions(+), 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/85857ab8/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQServerLogger.java
----------------------------------------------------------------------
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 c2c2e0a..51e6b42 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
@@ -77,6 +77,10 @@ public interface ActiveMQServerLogger extends BasicLogger {
     */
    ActiveMQServerLogger LOGGER = 
Logger.getMessageLogger(ActiveMQServerLogger.class, 
ActiveMQServerLogger.class.getPackage().getName());
 
+   @LogMessage(level = Logger.Level.DEBUG)
+   @Message(id = 223000, value = "Received Interrupt Exception whilst waiting 
for component to shutdown: {0}", format = Message.Format.MESSAGE_FORMAT)
+   void interruptWhilstStoppingComponent(String componentClassName);
+
    @LogMessage(level = Logger.Level.INFO)
    @Message(id = 221000, value = "{0} Message Broker is starting with 
configuration {1}", format = Message.Format.MESSAGE_FORMAT)
    void serverStarting(String type, Configuration configuration);
@@ -315,6 +319,15 @@ public interface ActiveMQServerLogger extends BasicLogger {
       format = Message.Format.MESSAGE_FORMAT)
    void disallowedProtocol(String protocol, String acceptorName);
 
+   @LogMessage(level = Logger.Level.INFO)
+   @Message(id = 221054, value = "libaio was found but the filesystem does not 
support AIO. Switching the configuration into NIO. Journal path: {0}", format = 
Message.Format.MESSAGE_FORMAT)
+   void switchingNIOonPath(String journalPath);
+
+   @LogMessage(level = Logger.Level.INFO)
+   @Message(id = 221055, value = "There were too many old replicated folders 
upon startup, removing {0}",
+      format = Message.Format.MESSAGE_FORMAT)
+   void removingBackupData(String path);
+
    @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)
@@ -1219,10 +1232,10 @@ public interface ActiveMQServerLogger extends 
BasicLogger {
       format = Message.Format.MESSAGE_FORMAT)
    void sslHandshakeFailed(String clientAddress, String cause);
 
-   @LogMessage(level = Logger.Level.INFO)
-   @Message(id = 222209, value = "There were too many old replicated folders 
upon startup, removing {0}",
+   @LogMessage(level = Logger.Level.WARN)
+   @Message(id = 222209, value = "Could not contact group handler coordinator 
after 10 retries, message being routed without grouping information",
       format = Message.Format.MESSAGE_FORMAT)
-   void removingBackupData(String path);
+   void impossibleToRouteGrouped();
 
    @LogMessage(level = Logger.Level.ERROR)
    @Message(id = 224000, value = "Failure in initialisation", format = 
Message.Format.MESSAGE_FORMAT)
@@ -1454,11 +1467,6 @@ public interface ActiveMQServerLogger extends 
BasicLogger {
    @Message(id = 224060, value = "Invalid protocol specified. Supported 
protocols are: {0}", format = Message.Format.MESSAGE_FORMAT)
    void invalidProtocol(String validProtocols);
 
-   @LogMessage(level = Logger.Level.WARN)
-   @Message(id = 224069, value = "Could not contact group handler coordinator 
after 10 retries, message being routed without grouping information",
-      format = Message.Format.MESSAGE_FORMAT)
-   void impossibleToRouteGrouped();
-
    @LogMessage(level = Logger.Level.ERROR)
    @Message(id = 224061, value = "Setting both <{0}> and <ha-policy> is 
invalid. Please use <ha-policy> exclusively as <{0}> is deprecated. Ignoring 
<{0}> value.", format = Message.Format.MESSAGE_FORMAT)
    void incompatibleWithHAPolicy(String parameter);
@@ -1490,13 +1498,4 @@ public interface ActiveMQServerLogger extends 
BasicLogger {
    @LogMessage(level = Logger.Level.ERROR)
    @Message(id = 224068, value = "Unable to stop component: {0}", format = 
Message.Format.MESSAGE_FORMAT)
    void errorStoppingComponent(@Cause Throwable t, String componentClassName);
-
-   @LogMessage(level = Logger.Level.DEBUG)
-   @Message(id = 224070, value = "Received Interrupt Exception whilst waiting 
for component to shutdown: {0}", format = Message.Format.MESSAGE_FORMAT)
-   void interruptWhilstStoppingComponent(String componentClassName);
-
-   @LogMessage(level = Logger.Level.INFO)
-   @Message(id = 224072, value = "libaio was found but the filesystem does not 
support AIO. Switching the configuration into NIO. Journal path: {0}", format = 
Message.Format.MESSAGE_FORMAT)
-   void switchingNIOonPath(String journalPath);
-
 }

Reply via email to