improve failover transport failure message to include client port, which makes will make it easier to debug things in multi-connection clients

This commit is contained in:
Dejan Bosanac 2014-02-12 14:29:23 +01:00
parent 9735806030
commit 084d606d89
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ public class FailoverTransport implements CompositeTransport {
if (canReconnect()) {
reconnectOk = true;
}
LOG.warn("Transport (" + transport.getRemoteAddress() + ") failed, reason: " + e
LOG.warn("Transport (" + transport + ") failed, reason: " + e
+ (reconnectOk ? "," : ", not") + " attempting to automatically reconnect");
initialized = false;