commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From skitch...@apache.org
Subject svn commit: r370672 - in /jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl: Log4J12Logger.java Log4J13Logger.java Log4JLogger.java LogFactoryImpl.java
Date Thu, 19 Jan 2006 23:52:28 GMT
Author: skitching
Date: Thu Jan 19 15:52:23 2006
New Revision: 370672

URL: http://svn.apache.org/viewcvs?rev=370672&view=rev
Log:
Remove Log4J13Logger; log4j 1.3 is not yet released.
Rename Log4J12Logger back to old name of Log4JLogger.

Added:
    jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java
      - copied, changed from r370667, jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J12Logger.java
Removed:
    jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J12Logger.java
    jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J13Logger.java
Modified:
    jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java

Copied: jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java
(from r370667, jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J12Logger.java)
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java?p2=jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java&p1=jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J12Logger.java&r1=370667&r2=370672&rev=370672&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4J12Logger.java
(original)
+++ jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/Log4JLogger.java
Thu Jan 19 15:52:23 2006
@@ -46,12 +46,12 @@
  * @version $Id$
  */
 
-public class Log4J12Logger implements Log, Serializable {
+public class Log4JLogger implements Log, Serializable {
 
     // ------------------------------------------------------------- Attributes
 
-    /** The fully qualified name of the Log4J12Logger class. */
-    private static final String FQCN = Log4J12Logger.class.getName();
+    /** The fully qualified name of the Log4JLogger class. */
+    private static final String FQCN = Log4JLogger.class.getName();
     
     /** Log to this logger */
     private transient Logger logger = null;
@@ -96,21 +96,21 @@
     
     // ------------------------------------------------------------ Constructor
 
-    public Log4J12Logger() {
+    public Log4JLogger() {
     }
 
 
     /**
      * Base constructor.
      */
-    public Log4J12Logger(String name) {
+    public Log4JLogger(String name) {
         this.name = name;
         this.logger = getLogger();
     }
 
     /** For use with a log4j factory.
      */
-    public Log4J12Logger(Logger logger ) {
+    public Log4JLogger(Logger logger ) {
         this.name = logger.getName();
         this.logger=logger;
     }

Modified: jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java?rev=370672&r1=370671&r2=370672&view=diff
==============================================================================
--- jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
(original)
+++ jakarta/commons/proper/logging/trunk/src/java/org/apache/commons/logging/impl/LogFactoryImpl.java
Thu Jan 19 15:52:23 2006
@@ -149,8 +149,7 @@
      * but broken/unusable for some reason.
      */
     private static final String[] classesToDiscover = {
-            "org.apache.commons.logging.impl.Log4J13Logger",
-            "org.apache.commons.logging.impl.Log4J12Logger",
+            "org.apache.commons.logging.impl.Log4JLogger",
             "org.apache.commons.logging.impl.Jdk14Logger",
             "org.apache.commons.logging.impl.Jdk13LumberjackLogger",
             "org.apache.commons.logging.impl.SimpleLog"



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


Mime
View raw message