camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r904022 - /camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultPackageScanClassResolver.java
Date Thu, 28 Jan 2010 10:01:35 GMT
Author: ningjiang
Date: Thu Jan 28 10:01:34 2010
New Revision: 904022

URL: http://svn.apache.org/viewvc?rev=904022&view=rev
Log:
CAMEL-2266 Changed the log of java.lang.ClassNotFoundException to be trace in the DefaultPackageScanClassResolver

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultPackageScanClassResolver.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultPackageScanClassResolver.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultPackageScanClassResolver.java?rev=904022&r1=904021&r2=904022&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultPackageScanClassResolver.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultPackageScanClassResolver.java
Thu Jan 28 10:01:34 2010
@@ -415,13 +415,13 @@
                     found = true;
                     break;
                 } catch (ClassNotFoundException e) {
-                    if (log.isDebugEnabled()) {
-                        log.debug("Cannot find class '" + fqn + "' in classloader: " + classLoader
+                    if (log.isTraceEnabled()) {
+                        log.trace("Cannot find class '" + fqn + "' in classloader: " + classLoader
                                 + ". Reason: " + e, e);
                     }
                 } catch (NoClassDefFoundError e) {
-                    if (log.isDebugEnabled()) {
-                        log.debug("Cannot find the class definition '" + fqn + "' in classloader:
" + classLoader
+                    if (log.isTraceEnabled()) {
+                        log.trace("Cannot find the class definition '" + fqn + "' in classloader:
" + classLoader
                             + ". Reason: " + e, e);
                     }
                 }



Mime
View raw message