mirror of https://github.com/apache/activemq.git
Revert "AMQ-7004 - Improved logging in Failover Transport"
This reverts commit 83d4aab2d1
.
This caused issues with too much logging in normal cases
This commit is contained in:
parent
02971a40e2
commit
5ed9a5d403
|
@ -1057,7 +1057,6 @@ public class FailoverTransport implements CompositeTransport {
|
||||||
return false;
|
return false;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
failure = e;
|
failure = e;
|
||||||
LOG.error("Connect fail to: {}, error message: {}", uri, e.getMessage());
|
|
||||||
LOG.debug("Connect fail to: {}, reason: {}", uri, e);
|
LOG.debug("Connect fail to: {}, reason: {}", uri, e);
|
||||||
if (transport != null) {
|
if (transport != null) {
|
||||||
try {
|
try {
|
||||||
|
@ -1287,7 +1286,6 @@ public class FailoverTransport implements CompositeTransport {
|
||||||
for (URI uri : updatedURIs) {
|
for (URI uri : updatedURIs) {
|
||||||
if (uri != null && !updated.contains(uri)) {
|
if (uri != null && !updated.contains(uri)) {
|
||||||
updated.add(uri);
|
updated.add(uri);
|
||||||
LOG.info("Adding new URI to transport: {}", uri);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue