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 {
|
||||
reconnectTask.wakeup();
|
||||
} catch (InterruptedException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
LOG.debug("Reconnect task has been interrupted.", e);
|
||||
}
|
||||
}
|
||||
return result;
|
||||
|
@ -200,7 +199,11 @@ public class FailoverTransport implements CompositeTransport {
|
|||
synchronized (reconnectMutex) {
|
||||
boolean reconnectOk = false;
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue