commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester Digester.java
Date Sat, 05 Jan 2002 23:02:53 GMT
craigmcc    02/01/05 15:02:53

  Modified:    digester/src/java/org/apache/commons/digester Digester.java
  Log:
  Change the default logger to the one configured by o.a.c.logging.LogSource.
  
  Revision  Changes    Path
  1.35      +5 -6      jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java
  
  Index: Digester.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- Digester.java	5 Jan 2002 19:48:39 -0000	1.34
  +++ Digester.java	5 Jan 2002 23:02:53 -0000	1.35
  @@ -1,7 +1,7 @@
   /*
  - * $Header: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java,v
1.34 2002/01/05 19:48:39 craigmcc Exp $
  - * $Revision: 1.34 $
  - * $Date: 2002/01/05 19:48:39 $
  + * $Header: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java,v
1.35 2002/01/05 23:02:53 craigmcc Exp $
  + * $Revision: 1.35 $
  + * $Date: 2002/01/05 23:02:53 $
    *
    * ====================================================================
    *
  @@ -82,7 +82,6 @@
   import org.apache.commons.collections.ArrayStack;
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogSource;
  -import org.apache.commons.logging.NoOpLog;
   import org.xml.sax.Attributes;
   import org.xml.sax.ContentHandler;
   import org.xml.sax.EntityResolver;
  @@ -112,7 +111,7 @@
    *
    * @author Craig McClanahan
    * @author Scott Sanders
  - * @version $Revision: 1.34 $ $Date: 2002/01/05 19:48:39 $
  + * @version $Revision: 1.35 $ $Date: 2002/01/05 23:02:53 $
    */
   
   public class Digester extends DefaultHandler {
  @@ -307,7 +306,7 @@
        * The Log to which all logging calls will be made.  By default a NoOpLog
        * is used, which means no output is done at all.
        */
  -    protected Log log = new NoOpLog();
  +    protected Log log = LogSource.getInstance("org.apache.commons.digester");
   
   
       // ----------------------------------------------------------- Properties
  
  
  

--
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