Author: gnodet
Date: Tue Sep 26 04:49:47 2006
New Revision: 450004

URL: http://svn.apache.org/viewvc?view=rev&rev=450004
Log:
Reduce logging when a problem occur while starting / stopping ClientFactory

Modified:
    
incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ClientFactory.java

Modified: 
incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ClientFactory.java
URL: 
http://svn.apache.org/viewvc/incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ClientFactory.java?view=diff&rev=450004&r1=450003&r2=450004
==============================================================================
--- 
incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ClientFactory.java
 (original)
+++ 
incubator/servicemix/trunk/servicemix-core/src/main/java/org/apache/servicemix/jbi/framework/ClientFactory.java
 Tue Sep 26 04:49:47 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);

             }



Reply via email to