ceki        2004/11/25 11:06:27

  Modified:    docs     HISTORY.txt
               src/java/org/apache/log4j/rolling
                        SlidingWindowRollingPolicy.java
               .        build.xml
  Log:
  Going alpha3
  
  Revision  Changes    Path
  1.3       +7 -0      logging-log4j/docs/HISTORY.txt
  
  Index: HISTORY.txt
  ===================================================================
  RCS file: /home/cvs/logging-log4j/docs/HISTORY.txt,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- HISTORY.txt       25 Nov 2004 10:55:14 -0000      1.2
  +++ HISTORY.txt       25 Nov 2004 19:06:27 -0000      1.3
  @@ -10,6 +10,13 @@
   
     November 25, 2004
   
  + - Release of version 1.3apha-3
  + 
  + - Classes are built with the javac debug setting on.
  + - Fixed unset activeFile bug in SlidingWindowRollingPolicy.
  + 
  +  November 25, 2004
  +
    - Release of version 1.3apha-2
    
    - The deprecated DOMConfigrator was mistakenly left as the default
  
  
  
  1.15      +3 -8      
logging-log4j/src/java/org/apache/log4j/rolling/SlidingWindowRollingPolicy.java
  
  Index: SlidingWindowRollingPolicy.java
  ===================================================================
  RCS file: 
/home/cvs/logging-log4j/src/java/org/apache/log4j/rolling/SlidingWindowRollingPolicy.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- SlidingWindowRollingPolicy.java   23 Nov 2004 18:48:37 -0000      1.14
  +++ SlidingWindowRollingPolicy.java   25 Nov 2004 19:06:27 -0000      1.15
  @@ -16,7 +16,6 @@
   
   package org.apache.log4j.rolling;
   
  -import org.apache.log4j.Logger;
   import org.apache.log4j.rolling.helper.Compress;
   import org.apache.log4j.rolling.helper.FileNamePattern;
   import org.apache.log4j.rolling.helper.Util;
  @@ -31,12 +30,8 @@
    * @since 1.3
    * */
   public class SlidingWindowRollingPolicy extends RollingPolicySkeleton {
  -  static Logger logger = Logger.getLogger(SlidingWindowRollingPolicy.class);
     int maxIndex;
     int minIndex;
  -  FileNamePattern fileNamePattern;
  -  String fileNamePatternStr;
  -  String activeFileName;
   
     public SlidingWindowRollingPolicy() {
       minIndex = 1;
  @@ -46,17 +41,17 @@
   
     public void activateOptions() {
       if (activeFileName == null) {
  -      logger.warn(
  +      getLogger().warn(
           "The active file name option must be set before using this rolling 
policy.");
         throw new IllegalStateException(
           "The activeFileName option must be set.");
       }
   
       if (maxIndex < minIndex) {
  -      logger.warn(
  +      getLogger().warn(
           "maxIndex (" + maxIndex + ") cannot be smaller than minIndex ("
           + minIndex + ").");
  -      logger.warn("Setting maxIndex to equal minIndex.");
  +      getLogger().warn("Setting maxIndex to equal minIndex.");
         maxIndex = minIndex;
       }
   
  
  
  
  1.119     +3 -3      logging-log4j/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/logging-log4j/build.xml,v
  retrieving revision 1.118
  retrieving revision 1.119
  diff -u -r1.118 -r1.119
  --- build.xml 25 Nov 2004 10:55:14 -0000      1.118
  +++ build.xml 25 Nov 2004 19:06:27 -0000      1.119
  @@ -4,7 +4,7 @@
     <!-- The build.properties file defines the parth to local jar files -->
     <property file="build.properties"/>
   
  -  <property name="version" value="1.3alpha-2"/>
  +  <property name="version" value="1.3alpha-3"/>
   
     <!-- The base directory relative to which most targets are built -->
     <property name="base" value="."/>
  @@ -45,8 +45,8 @@
     <!-- Source directory for xml docs -->
     <property name="xdocs.src" value="./src/xdocs"/>
   
  -  <!-- Javac with debug on/off. -->
  -  <property name="debug" value="off"/>
  +  <!-- Javac with debug on/off. Log4j without debug on is hard to debug, so 
leave this settint on. -->
  +  <property name="debug" value="on"/>
   
     <!-- Destination for javadoc generated files -->
     <property name="javadoc.dest" value="docs/api"/>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to