commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sand...@apache.org
Subject cvs commit: jakarta-commons/logging/src/java/org/apache/commons/logging LogFactory.java
Date Sat, 04 May 2002 19:50:29 GMT
sanders     02/05/04 12:50:29

  Modified:    logging/src/java/org/apache/commons/logging LogFactory.java
  Log:
  Modified to use the same classloader when defaulting
  to the default log factory
  
  Revision  Changes    Path
  1.7       +5 -5      jakarta-commons/logging/src/java/org/apache/commons/logging/LogFactory.java
  
  Index: LogFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/logging/src/java/org/apache/commons/logging/LogFactory.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- LogFactory.java	15 Mar 2002 22:57:36 -0000	1.6
  +++ LogFactory.java	4 May 2002 19:50:29 -0000	1.7
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/logging/src/java/org/apache/commons/logging/LogFactory.java,v
1.6 2002/03/15 22:57:36 craigmcc Exp $
  - * $Revision: 1.6 $
  - * $Date: 2002/03/15 22:57:36 $
  + * $Header: /home/cvs/jakarta-commons/logging/src/java/org/apache/commons/logging/LogFactory.java,v
1.7 2002/05/04 19:50:29 sanders Exp $
  + * $Revision: 1.7 $
  + * $Date: 2002/05/04 19:50:29 $
    *
    * ====================================================================
    *
  @@ -84,7 +84,7 @@
    *
    * @author Craig R. McClanahan
    * @author Costin Manolache
  - * @version $Revision: 1.6 $ $Date: 2002/03/15 22:57:36 $
  + * @version $Revision: 1.7 $ $Date: 2002/05/04 19:50:29 $
    */
   
   public abstract class LogFactory {
  @@ -347,7 +347,7 @@
   
           // Fourth, try the fallback implementation class
           if (factory == null) {
  -            factory = newFactory(FACTORY_DEFAULT, classLoader);
  +            factory = newFactory(FACTORY_DEFAULT, LogFactory.class.getClassLoader());
           }
   
           if( props!=null ) {
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message