ARTEMIS-3209 add details to AMQ222186 WARN message
This commit is contained in:
parent
3c90c695f3
commit
81e6e4a5a2
|
@ -1225,9 +1225,9 @@ public interface ActiveMQServerLogger extends BasicLogger {
|
|||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 222186,
|
||||
value = "unable to authorise cluster control",
|
||||
value = "unable to authorise cluster control: {0}",
|
||||
format = Message.Format.MESSAGE_FORMAT)
|
||||
void clusterControlAuthfailure();
|
||||
void clusterControlAuthfailure(String causeMessage);
|
||||
|
||||
@LogMessage(level = Logger.Level.WARN)
|
||||
@Message(id = 222187,
|
||||
|
|
|
@ -563,7 +563,10 @@ public final class ClusterConnectionImpl implements ClusterConnection, AfterConn
|
|||
clusterControl.authorize();
|
||||
clusterControl.sendNodeAnnounce(localMember.getUniqueEventID(), manager.getNodeId(), manager.getBackupGroupName(), manager.getScaleDownGroupName(), false, localMember.getLive(), localMember.getBackup());
|
||||
} catch (ActiveMQException e) {
|
||||
ActiveMQServerLogger.LOGGER.clusterControlAuthfailure();
|
||||
ActiveMQServerLogger.LOGGER.clusterControlAuthfailure(e.getMessage());
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug(e);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
ActiveMQServerLogger.LOGGER.noLocalMemborOnClusterConnection(this);
|
||||
|
|
Loading…
Reference in New Issue