log when transport reconnects successfully

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@499746 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-01-25 11:41:42 +00:00
parent af249b6b86
commit 22e007f0a3
1 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ public class FailoverTransport implements CompositeTransport {
if (transportListener != null){
transportListener.transportResumed();
}
log.info("Successfully reconnected to " + uri);
return false;
}
catch (Exception e) {
@ -236,7 +236,7 @@ public class FailoverTransport implements CompositeTransport {
transportListener.transportInterupted();
}
synchronized (reconnectMutex) {
log.info("Transport failed, attempting to automatically reconnect due to: " + e, e);
log.warn("Transport failed, attempting to automatically reconnect due to: " + e, e);
if (connectedTransport != null) {
initialized = false;
ServiceSupport.dispose(connectedTransport);