mirror of https://github.com/apache/activemq.git
Changing logging to log stacktraces to debug only
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631864 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bf20d76622
commit
da6c2d61f1
|
@ -127,8 +127,7 @@ public class FailoverTransport implements CompositeTransport {
|
||||||
try {
|
try {
|
||||||
reconnectTask.wakeup();
|
reconnectTask.wakeup();
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
// TODO Auto-generated catch block
|
LOG.debug("Reconnect task has been interrupted.", e);
|
||||||
e.printStackTrace();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
|
@ -200,7 +199,11 @@ public class FailoverTransport implements CompositeTransport {
|
||||||
synchronized (reconnectMutex) {
|
synchronized (reconnectMutex) {
|
||||||
boolean reconnectOk = false;
|
boolean reconnectOk = false;
|
||||||
if(started) {
|
if(started) {
|
||||||
LOG.warn("Transport failed, attempting to automatically reconnect due to: " + e, e);
|
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);
|
||||||
|
}
|
||||||
reconnectOk = true;
|
reconnectOk = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue