From 3a5b034cef045f6201cf3c1f786db8985d9c2d47 Mon Sep 17 00:00:00 2001 From: "Richard A. Sitze" Date: Sat, 19 Oct 2002 17:25:18 +0000 Subject: [PATCH] - code cleanup, refactoring, and corrected a few undiscoved bugs.. - Bugzilla 13157 - Log4j takes undue precedence over Log override. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@138927 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/commons/logging/LogFactory.java | 83 ++++++----- .../commons/logging/impl/LogFactoryImpl.java | 141 ++++++++++-------- 2 files changed, 123 insertions(+), 101 deletions(-) diff --git a/src/java/org/apache/commons/logging/LogFactory.java b/src/java/org/apache/commons/logging/LogFactory.java index ee2b9d0..5a81469 100644 --- a/src/java/org/apache/commons/logging/LogFactory.java +++ b/src/java/org/apache/commons/logging/LogFactory.java @@ -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.13 2002/10/17 23:00:04 rsitze Exp $ - * $Revision: 1.13 $ - * $Date: 2002/10/17 23:00:04 $ + * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//logging/src/java/org/apache/commons/logging/LogFactory.java,v 1.14 2002/10/19 17:25:18 rsitze Exp $ + * $Revision: 1.14 $ + * $Date: 2002/10/19 17:25:18 $ * * ==================================================================== * @@ -79,14 +79,15 @@ import java.util.Properties; *

Factory for creating {@link Log} instances, with discovery and * configuration features similar to that employed by standard Java APIs * such as JAXP.

- * + * *

IMPLEMENTATION NOTE - This implementation is heavily * based on the SAXParserFactory and DocumentBuilderFactory implementations * (corresponding to the JAXP pluggability APIs) found in Apache Xerces.

* * @author Craig R. McClanahan * @author Costin Manolache - * @version $Revision: 1.13 $ $Date: 2002/10/17 23:00:04 $ + * @author Richard A. Sitze + * @version $Revision: 1.14 $ $Date: 2002/10/19 17:25:18 $ */ public abstract class LogFactory { @@ -102,7 +103,6 @@ public abstract class LogFactory { public static final String FACTORY_PROPERTY = "org.apache.commons.logging.LogFactory"; - /** * The fully qualified class name of the fallback LogFactory * implementation class to use, if no other can be found. @@ -110,7 +110,6 @@ public abstract class LogFactory { public static final String FACTORY_DEFAULT = "org.apache.commons.logging.impl.LogFactoryImpl"; - /** * The name of the properties file to search for. */ @@ -239,9 +238,10 @@ public abstract class LogFactory { *