mirror of https://github.com/apache/activemq.git
Tweak the logging a bit. Didn't like the idea of different log messages depending on log level.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631866 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
da6c2d61f1
commit
a6e227dcdc
|
@ -199,11 +199,8 @@ public class FailoverTransport implements CompositeTransport {
|
||||||
synchronized (reconnectMutex) {
|
synchronized (reconnectMutex) {
|
||||||
boolean reconnectOk = false;
|
boolean reconnectOk = false;
|
||||||
if(started) {
|
if(started) {
|
||||||
if (LOG.isDebugEnabled()) {
|
LOG.warn("Transport failed, attempting to automatically reconnect due to: " + e);
|
||||||
LOG.debug("Transport failed, attempting to automatically reconnect due to: " + e, e);
|
LOG.debug("Transport failed with the following exception:", e);
|
||||||
} else {
|
|
||||||
LOG.warn("Transport failed, attempting to automatically reconnect due to: " + e);
|
|
||||||
}
|
|
||||||
reconnectOk = true;
|
reconnectOk = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue