activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [1/2] activemq-artemis git commit: [ARTEMIS-152] Improve log output to explain why cached commands are repeated.
Date Mon, 06 Jul 2015 16:23:48 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 9582aca14 -> 24979a771


[ARTEMIS-152] Improve log output to explain why cached commands are repeated.


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

Branch: refs/heads/master
Commit: 2d806807b8d9006cf642392ad5da9878394cebae
Parents: 9582aca
Author: Ryan Emerson <remerson@redhat.com>
Authored: Fri Jul 3 10:15:21 2015 +0100
Committer: Ryan Emerson <remerson@redhat.com>
Committed: Mon Jul 6 17:11:51 2015 +0100

----------------------------------------------------------------------
 .../artemis/jms/server/ActiveMQJMSServerLogger.java       | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/2d806807/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/ActiveMQJMSServerLogger.java
----------------------------------------------------------------------
diff --git a/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/ActiveMQJMSServerLogger.java
b/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/ActiveMQJMSServerLogger.java
index ed808cc..3e81866 100644
--- a/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/ActiveMQJMSServerLogger.java
+++ b/artemis-jms-server/src/main/java/org/apache/activemq/artemis/jms/server/ActiveMQJMSServerLogger.java
@@ -48,10 +48,6 @@ public interface ActiveMQJMSServerLogger extends BasicLogger
    ActiveMQJMSServerLogger LOGGER = Logger.getMessageLogger(ActiveMQJMSServerLogger.class,
ActiveMQJMSServerLogger.class.getPackage().getName());
 
    @LogMessage(level = Logger.Level.INFO)
-   @Message(id = 121003, value = "JMS Server Manager Running cached command for {0}" , format
= Message.Format.MESSAGE_FORMAT)
-   void serverRunningCachedCommand(Runnable run);
-
-   @LogMessage(level = Logger.Level.INFO)
    @Message(id = 121004, value = "JMS Server Manager Caching command for {0} since the JMS
Server is not active yet",
             format = Message.Format.MESSAGE_FORMAT)
    void serverCachingCommand(Object runnable);
@@ -101,6 +97,12 @@ public interface ActiveMQJMSServerLogger extends BasicLogger
            format = Message.Format.MESSAGE_FORMAT)
    void failedToSendNotification(String notification);
 
+   @LogMessage(level = Logger.Level.DEBUG)
+   @Message(id = 123000, value = "JMS Server Manager Running cached command for {0}." +
+           "(In the event of failover after failback has occurred, this message may be output
multiple times.)",
+           format = Message.Format.MESSAGE_FORMAT)
+   void serverRunningCachedCommand(Runnable run);
+
    @LogMessage(level = Logger.Level.ERROR)
    @Message(id = 124000, value = "key attribute missing for JMS configuration {0}" , format
= Message.Format.MESSAGE_FORMAT)
    void jmsConfigMissingKey(Node e);


Mime
View raw message