You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ce...@apache.org on 2004/06/07 19:13:36 UTC

cvs commit: logging-log4j/tests/input/xml defaultInit.xml

ceki        2004/06/07 10:13:36

  Modified:    src/java/org/apache/log4j/spi LoggerRepository.java
                        Decoder.java
               examples/src/joran/newRule NewRuleCalculator.java
               tests/input/xml defaultInit.xml
  Log:
  Started work on UGLI.
  
  Revision  Changes    Path
  1.18      +15 -5     logging-log4j/src/java/org/apache/log4j/spi/LoggerRepository.java
  
  Index: LoggerRepository.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/spi/LoggerRepository.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- LoggerRepository.java	9 May 2004 18:37:56 -0000	1.17
  +++ LoggerRepository.java	7 Jun 2004 17:13:36 -0000	1.18
  @@ -83,9 +83,19 @@
     public void setName(String repoName);
   
     /**
  -     Set the repository-wide threshold. All logging requests below the
  -     threshold are immediately dropped. By default, the threshold is
  -     set to <code>Level.ALL</code> which has the lowest possible rank.  */
  +   * Set the repository-wide threshold. All logging requests below the threshold
  +   * are immediately dropped. By default, the threshold is set to 
  +   * <code>Level.ALL</code> which has the lowest possible rank.  
  +   * 
  +   * <p>The repository-wide threshold acts as a global on off switch. It avoids
  +   * the hierarchy walk, hence improving performance. In future log4j versions
  +   * the speed of the hiearchy walk will be significantly improved obliviating
  +   * the need for this method.
  +   * 
  +   * <p>The repository-wide threshold is a deprecated feature.
  +   * 
  +   * @deprecated Will be removed with no replacement. 
  +   * */
     public void setThreshold(Level level);
     
     /**
  @@ -107,8 +117,8 @@
     public Logger getRootLogger();
   
     /**
  -   * Is the current configuration of the reposiroty, the original (pristine)
  -   * configuration?
  +   * Is the current configuration of the reposiroty in its original (pristine)
  +   * state?
      * 
      * @since 1.3
      */
  
  
  
  1.2       +0 -1      logging-log4j/src/java/org/apache/log4j/spi/Decoder.java
  
  Index: Decoder.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/spi/Decoder.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- Decoder.java	27 May 2004 12:16:57 -0000	1.1
  +++ Decoder.java	7 Jun 2004 17:13:36 -0000	1.2
  @@ -30,7 +30,6 @@
    * (usually XML).
    *
    *  @author Scott Deboy <sd...@apache.org>
  - *
    */
   public interface Decoder {
     Vector decodeEvents(String document);
  
  
  
  1.3       +1 -0      logging-log4j/examples/src/joran/newRule/NewRuleCalculator.java
  
  Index: NewRuleCalculator.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/examples/src/joran/newRule/NewRuleCalculator.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NewRuleCalculator.java	10 Apr 2004 13:55:58 -0000	1.2
  +++ NewRuleCalculator.java	7 Jun 2004 17:13:36 -0000	1.3
  @@ -44,6 +44,7 @@
       // Uncomment the following line in order to enable log statements generated
       // from joran itself.
       // org.apache.log4j.BasicConfigurator.configure();
  +    
       // As usual, we create a simple rule store.
       RuleStore ruleStore = new SimpleRuleStore();
   
  
  
  
  1.5       +1 -1      logging-log4j/tests/input/xml/defaultInit.xml
  
  Index: defaultInit.xml
  ===================================================================
  RCS file: /home/cvs/logging-log4j/tests/input/xml/defaultInit.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- defaultInit.xml	26 May 2004 17:56:17 -0000	1.4
  +++ defaultInit.xml	7 Jun 2004 17:13:36 -0000	1.5
  @@ -10,7 +10,7 @@
     </appender>
     
     <root>
  -    <priority value ="OFF" />
  +    <priority value="OFF" />
       <appender-ref ref="D1" />
     </root>
     
  
  
  

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