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) {
|
||||
boolean reconnectOk = false;
|
||||
if(started) {
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Transport failed, attempting to automatically reconnect due to: " + e, e);
|
||||
} else {
|
||||
LOG.warn("Transport failed, attempting to automatically reconnect due to: " + e);
|
||||
}
|
||||
LOG.warn("Transport failed, attempting to automatically reconnect due to: " + e);
|
||||
LOG.debug("Transport failed with the following exception:", e);
|
||||
reconnectOk = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue