You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by rw...@apache.org on 2001/12/15 01:52:08 UTC

cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log LogSource.java

rwaldhoff    01/12/14 16:52:08

  Modified:    httpclient build.xml
               httpclient/src/java/org/apache/commons/httpclient/log
                        LogSource.java
  Log:
  default values for httpclient.log were preventing auto-detection of Log4J
  
  Revision  Changes    Path
  1.11      +1 -4      jakarta-commons/httpclient/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/build.xml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- build.xml	2001/11/13 00:32:02	1.10
  +++ build.xml	2001/12/15 00:52:08	1.11
  @@ -1,7 +1,7 @@
   <project name="HTTP Client" default="compile" basedir=".">
   <!--
           "HTTP Client" component of the Jakarta Commons Subproject
  -        $Id: build.xml,v 1.10 2001/11/13 00:32:02 rwaldhoff Exp $
  +        $Id: build.xml,v 1.11 2001/12/15 00:52:08 rwaldhoff Exp $
   -->
   
   <!-- ========== Properties: Property Files  =============================== -->
  @@ -107,9 +107,6 @@
   
     <!-- HTTPS protocol handler, needed for HTTPS unit tests -->
     <property name="java.protocol.handler.pkgs" value="com.sun.net.ssl.internal.www.protocol"/>
  -
  -  <!-- log type to use -->
  -  <property name="httpclient.log" value="org.apache.commons.httpclient.log.NoOpLog"/>
   
     <!-- The default context name for the test webapp -->
     <property name="httpclient.test.webappContext" value="httpclienttest"/>
  
  
  
  1.6       +5 -5      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log/LogSource.java
  
  Index: LogSource.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log/LogSource.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- LogSource.java	2001/11/13 00:33:28	1.5
  +++ LogSource.java	2001/12/15 00:52:08	1.6
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log/LogSource.java,v 1.5 2001/11/13 00:33:28 rwaldhoff Exp $
  - * $Revision: 1.5 $
  - * $Date: 2001/11/13 00:33:28 $
  + * $Header: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/log/LogSource.java,v 1.6 2001/12/15 00:52:08 rwaldhoff Exp $
  + * $Revision: 1.6 $
  + * $Date: 2001/12/15 00:52:08 $
    * ====================================================================
    *
    * The Apache Software License, Version 1.1
  @@ -68,7 +68,7 @@
   
   /**
    * @author Rod Waldhoff
  - * @version $Id: LogSource.java,v 1.5 2001/11/13 00:33:28 rwaldhoff Exp $
  + * @version $Id: LogSource.java,v 1.6 2001/12/15 00:52:08 rwaldhoff Exp $
    */
   public class LogSource {
       static protected HashMap _logs = new HashMap();
  @@ -127,7 +127,7 @@
       static public Log makeNewLogInstance(String name) {
           Log log = null;
           try {
  -            String logclassname = System.getProperty("httpclient.log","org.apache.commons.httpclient.log.NoOpLog");
  +            String logclassname = System.getProperty("httpclient.log");
               Class logclass = Class.forName(logclassname);
               Class[] argtypes = new Class[1];
               argtypes[0] = "".getClass();
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>