1
0

Modified to use the same classloader when defaulting

to the default log factory


git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138883 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Scott Sanders
2002-05-04 19:50:29 +00:00
parent 025dc566b9
commit 739f6cecfe

View File

@@ -1,7 +1,7 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//logging/src/java/org/apache/commons/logging/LogFactory.java,v 1.6 2002/03/15 22:57:36 craigmcc Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/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.6 $ * $Revision: 1.7 $
* $Date: 2002/03/15 22:57:36 $ * $Date: 2002/05/04 19:50:29 $
* *
* ==================================================================== * ====================================================================
* *
@@ -84,7 +84,7 @@ import java.util.Properties;
* *
* @author Craig R. McClanahan * @author Craig R. McClanahan
* @author Costin Manolache * @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 { public abstract class LogFactory {
@@ -347,7 +347,7 @@ public abstract class LogFactory {
// Fourth, try the fallback implementation class // Fourth, try the fallback implementation class
if (factory == null) { if (factory == null) {
factory = newFactory(FACTORY_DEFAULT, classLoader); factory = newFactory(FACTORY_DEFAULT, LogFactory.class.getClassLoader());
} }
if( props!=null ) { if( props!=null ) {