ARTEMIS-296 Remove stacktrace from bridge disconnect log

This commit is contained in:
Martyn Taylor 2015-11-04 15:04:12 +00:00 committed by Clebert Suconic
parent 77f0f66a4d
commit 856d7644ad
2 changed files with 2 additions and 2 deletions

View File

@ -694,7 +694,7 @@ public interface ActiveMQServerLogger extends BasicLogger {
@LogMessage(level = Logger.Level.WARN)
@Message(id = 222095, value = "Connection failed with failedOver={0}", format = Message.Format.MESSAGE_FORMAT)
void bridgeConnectionFailed(@Cause Exception e, Boolean failedOver);
void bridgeConnectionFailed(Boolean failedOver);
@LogMessage(level = Logger.Level.WARN)
@Message(id = 222096, value = "Error on querying binding on bridge {0}. Retrying in 100 milliseconds", format = Message.Format.MESSAGE_FORMAT)

View File

@ -571,7 +571,7 @@ public class BridgeImpl implements Bridge, SessionFailureListener, SendAcknowled
}
public void connectionFailed(final ActiveMQException me, boolean failedOver, String scaleDownTargetNodeID) {
ActiveMQServerLogger.LOGGER.bridgeConnectionFailed(me, failedOver);
ActiveMQServerLogger.LOGGER.bridgeConnectionFailed(failedOver);
synchronized (connectionGuard) {
keepConnecting = true;