logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject cvs commit: logging-log4j/src/java/org/apache/log4j/xml DOMConfigurator.java
Date Wed, 26 May 2004 18:19:53 GMT
ceki        2004/05/26 11:19:53

  Modified:    tests/src/java/org/apache/log4j/varia
                        ErrorHandlerTestCase.java
               src/java/org/apache/log4j/xml DOMConfigurator.java
  Log:
  - Deprecated DOMConfigurator
  - Ensure everything compiles  nicely.
  
  Revision  Changes    Path
  1.8       +2 -2      logging-log4j/tests/src/java/org/apache/log4j/varia/ErrorHandlerTestCase.java
  
  Index: ErrorHandlerTestCase.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/tests/src/java/org/apache/log4j/varia/ErrorHandlerTestCase.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ErrorHandlerTestCase.java	26 May 2004 17:19:38 -0000	1.7
  +++ ErrorHandlerTestCase.java	26 May 2004 18:19:53 -0000	1.8
  @@ -29,7 +29,7 @@
   import org.apache.log4j.util.LineNumberFilter;
   import org.apache.log4j.util.SunReflectFilter;
   import org.apache.log4j.util.Transformer;
  -import org.apache.log4j.xml.DOMConfiguratorOld;
  +import org.apache.log4j.xml.DOMConfigurator;
   
   
   public class ErrorHandlerTestCase extends TestCase {
  @@ -60,7 +60,7 @@
     }
   
     public void test1() throws Exception {
  -    DOMConfiguratorOld.configure("input/xml/fallback1.xml");
  +    DOMConfigurator.configure("input/xml/fallback1.xml");
       common();
   
       ControlFilter cf =
  
  
  
  1.66      +1 -1      logging-log4j/src/java/org/apache/log4j/xml/DOMConfigurator.java
  
  Index: DOMConfigurator.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/xml/DOMConfigurator.java,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- DOMConfigurator.java	19 May 2004 13:15:44 -0000	1.65
  +++ DOMConfigurator.java	26 May 2004 18:19:53 -0000	1.66
  @@ -68,7 +68,7 @@
      @author Christopher Taylor
      @author Ceki Gülcü
      @author Anders Kristensen
  -
  +   @deprecated Replaced by the much more flexible {@link org.apache.log4j.joran.JoranConfigrator}.
      @since 0.8.3 */
   public class DOMConfigurator implements Configurator {
     static Logger logger =
  
  
  

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


Mime
View raw message