added broker name to startup message
This commit is contained in:
parent
6e7ed2348f
commit
24bf83a3ad
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue