[jboss-remoting-commits] JBoss Remoting SVN: r4155 - remoting2/branches/2.x/src/main/org/jboss/remoting/serialization.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Fri May 9 19:34:40 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-05-09 19:34:40 -0400 (Fri, 09 May 2008)
New Revision: 4155

Modified:
   remoting2/branches/2.x/src/main/org/jboss/remoting/serialization/ClassLoaderUtility.java
Log:
JBREM-978: Backed out logging statements.

Modified: remoting2/branches/2.x/src/main/org/jboss/remoting/serialization/ClassLoaderUtility.java
===================================================================
--- remoting2/branches/2.x/src/main/org/jboss/remoting/serialization/ClassLoaderUtility.java	2008-05-09 07:54:39 UTC (rev 4154)
+++ remoting2/branches/2.x/src/main/org/jboss/remoting/serialization/ClassLoaderUtility.java	2008-05-09 23:34:40 UTC (rev 4155)
@@ -24,15 +24,12 @@
 import java.security.AccessController;
 import java.security.PrivilegedAction;
 
-import org.apache.log4j.Logger;
-
 /**
  * @author <a href="mailto:clebert.suconic at jboss.com">Clebert Suconic</a>
  */
 public class ClassLoaderUtility
 {
-   static Logger log = Logger.getLogger(ClassLoaderUtility.class);
-   
+
    /**
     * Tries to load the class from the current thread's context class loader. If
     * not successful, tries to load the class from the current instance.
@@ -62,7 +59,6 @@
       }
       catch (Throwable t)
       {
-         log.debug("Context classloader can't find class: " + classname, t);
       }
 
       if (clazz != null)
@@ -83,7 +79,6 @@
          }
          catch (Throwable t)
          {
-            log.debug("clazz classloader can't find class: " + classname, t);
          }
       }
 
@@ -103,7 +98,6 @@
       }
       catch (Throwable t)
       {
-         log.debug("system classloader can't find class: " + classname, t);
       }
 
       throw new ClassNotFoundException(classname);
@@ -141,7 +135,6 @@
          }
          catch (Throwable t)
          {
-            log.debug("clazz classloader can't find class: " + classname, t);
          }
       }
 
@@ -161,7 +154,6 @@
       }
       catch (Throwable t)
       {
-         log.debug("context classloader can't find class: " + classname, t);
       }
 
 
@@ -181,7 +173,6 @@
       }
       catch (Throwable t)
       {
-         log.debug("system classloader can't find class: " + classname, t);
       }
 
       throw new ClassNotFoundException(classname);




More information about the jboss-remoting-commits mailing list