Author: gnodet
Date: Tue Oct 10 07:33:21 2006
New Revision: 454750
URL: http://svn.apache.org/viewvc?view=rev&rev=454750
Log:
SM-700: ClientFactory should log problems at warning level as they are not
criticals
Modified:
incubator/servicemix/branches/servicemix-3.0/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ClientFactory.java
Modified:
incubator/servicemix/branches/servicemix-3.0/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ClientFactory.java
URL:
http://svn.apache.org/viewvc/incubator/servicemix/branches/servicemix-3.0/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ClientFactory.java?view=diff&rev=454750&r1=454749&r2=454750
==============================================================================
---
incubator/servicemix/branches/servicemix-3.0/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ClientFactory.java
(original)
+++
incubator/servicemix/branches/servicemix-3.0/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ClientFactory.java
Tue Oct 10 07:33:21 2006
@@ -82,7 +82,7 @@
getContainer().getNamingContext().bind(jndiName, this);
super.start();
} catch (NamingException e) {
- logger.error("Cound not start ClientFactory: " + e);
+ logger.warn("Cound not start ClientFactory: " + e);
if (logger.isDebugEnabled()) {
logger.debug("Could not start ClientFactory", e);
}
@@ -99,7 +99,7 @@
super.stop();
getContainer().getNamingContext().unbind(jndiName);
} catch (NamingException e) {
- logger.error("Cound not stop ClientFactory: " + e);
+ logger.warn("Cound not stop ClientFactory: " + e);
if (logger.isDebugEnabled()) {
logger.debug("Could not stop ClientFactory", e);
}