activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [6/7] activemq-artemis git commit: added broker name to startup message
Date Wed, 23 Dec 2015 16:00:28 GMT
added broker name to startup message


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

Branch: refs/heads/master
Commit: 24bf83a3ad4704c21b44efb961ecbf7bdadd4bfc
Parents: 6e7ed23
Author: Andy Taylor <andy.tayls67@gmail.com>
Authored: Tue Dec 22 15:02:04 2015 +0000
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Wed Dec 23 10:58:44 2015 -0500

----------------------------------------------------------------------
 .../activemq/artemis/core/server/ActiveMQServerLogger.java       | 4 ++--
 .../activemq/artemis/core/server/impl/ActiveMQServerImpl.java    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/24bf83a3/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 8b31875..91d2ce8 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
@@ -82,8 +82,8 @@ public interface ActiveMQServerLogger extends BasicLogger {
    void serverStarting(String type, Configuration configuration);
 
    @LogMessage(level = Logger.Level.INFO)
-   @Message(id = 221001, value = "Apache ActiveMQ Artemis Message Broker version {0} [nodeID={1}]
{2}", format = Message.Format.MESSAGE_FORMAT)
-   void serverStarted(String fullVersion, SimpleString nodeId, String identity);
+   @Message(id = 221001, value = "Apache ActiveMQ Artemis Message Broker version {0} [{1},
nodeID={2}] {3}", format = Message.Format.MESSAGE_FORMAT)
+   void serverStarted(String fullVersion, String name, SimpleString nodeId, String identity);
 
    @LogMessage(level = Logger.Level.INFO)
    @Message(id = 221002, value = "Apache ActiveMQ Artemis Message Broker version {0} [{1}]
stopped, uptime {2}", format = Message.Format.MESSAGE_FORMAT)

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/24bf83a3/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java
index cc2c73d..b0a5a7e 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java
@@ -415,7 +415,7 @@ public class ActiveMQServerImpl implements ActiveMQServer {
             backupActivationThread.start();
          }
          else {
-            ActiveMQServerLogger.LOGGER.serverStarted(getVersion().getFullVersion(), nodeManager.getNodeId(),
identity != null ? identity : "");
+            ActiveMQServerLogger.LOGGER.serverStarted(getVersion().getFullVersion(), configuration.getName(),
nodeManager.getNodeId(),  identity != null ? identity : "" );
          }
          // start connector service
          connectorsService = new ConnectorsService(configuration, storageManager, scheduledPool,
postOffice, serviceRegistry);


Mime
View raw message