fix for AMQ-856 - increase the logging level

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@429787 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
James Strachan 2006-08-08 19:21:47 +00:00
parent c96f327bfa
commit 2b6f6371e0
1 changed files with 2 additions and 2 deletions

View File

@ -242,8 +242,8 @@ public class ActiveMQEndpointWorker {
reconnectDelay = this.reconnectDelay;
// Only log errors if the server is really down.. And not a temp failure.
if (reconnectDelay == MAX_RECONNECT_DELAY) {
log.info("Endpoint connection to JMS broker failed: " + error.getMessage());
log.info("Endpoint will try to reconnect to the JMS broker in "+(MAX_RECONNECT_DELAY/1000)+" seconds");
log.error("Endpoint connection to JMS broker failed: " + error.getMessage());
log.error("Endpoint will try to reconnect to the JMS broker in "+(MAX_RECONNECT_DELAY/1000)+" seconds");
}
}
try {