[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-cvs
Subject:    cvs commit: jakarta-log4j/src/java/org/apache/log4j WriterAppender.java TTCCLayout.java RollingFileA
From:       oburn () apache ! org
Date:       2002-04-24 15:03:45
[Download RAW message or body]

oburn       02/04/24 08:03:45

  Modified:    src/java/org/apache/log4j WriterAppender.java
                        TTCCLayout.java RollingFileAppender.java
                        PropertyConfigurator.java PatternLayout.java
                        Logger.java Category.java AsyncAppender.java
  Log:
  Fixed simple Javadoc errors and removed redundant import statements.
  
  Revision  Changes    Path
  1.22      +1 -1      jakarta-log4j/src/java/org/apache/log4j/WriterAppender.java
  
  Index: WriterAppender.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/WriterAppender.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- WriterAppender.java	24 Apr 2002 01:16:13 -0000	1.21
  +++ WriterAppender.java	24 Apr 2002 15:03:44 -0000	1.22
  @@ -274,7 +274,7 @@
   
       <p><b>WARNING:</b> Logging to an unopened Writer will fail.
       <p>
  -    @param Writer An already opened Writer.  */
  +    @param writer An already opened Writer.  */
     public
     synchronized
     void setWriter(Writer writer) {
  
  
  
  1.15      +2 -2      jakarta-log4j/src/java/org/apache/log4j/TTCCLayout.java
  
  Index: TTCCLayout.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/TTCCLayout.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- TTCCLayout.java	24 Apr 2002 01:16:13 -0000	1.14
  +++ TTCCLayout.java	24 Apr 2002 15:03:44 -0000	1.15
  @@ -11,7 +11,6 @@
   
   package org.apache.log4j;
   
  -import org.apache.log4j.Level;
   import org.apache.log4j.helpers.DateLayout;
   import org.apache.log4j.spi.LoggingEvent;
   
  @@ -23,7 +22,8 @@
    disabled. The time format depends on the <code>DateFormat</code>
    used.
   
  - <p>Here is an example TTCCLayout output with the {@link RelativeTimeDateFormat}.
  + <p>Here is an example TTCCLayout output with the
  + {@link org.apache.log4j.helpers.RelativeTimeDateFormat}.
   
    <pre>
   176 [main] INFO  org.apache.log4j.examples.Sort - Populating an array of 2 elements in reverse order.
  
  
  
  1.17      +0 -1      jakarta-log4j/src/java/org/apache/log4j/RollingFileAppender.java
  
  Index: RollingFileAppender.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/RollingFileAppender.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- RollingFileAppender.java	24 Apr 2002 01:16:13 -0000	1.16
  +++ RollingFileAppender.java	24 Apr 2002 15:03:44 -0000	1.17
  @@ -9,7 +9,6 @@
   
   package org.apache.log4j;
   
  -import java.beans.*;
   import java.io.IOException;
   import java.io.Writer;
   import java.io.File;
  
  
  
  1.54      +0 -2      jakarta-log4j/src/java/org/apache/log4j/PropertyConfigurator.java
  
  Index: PropertyConfigurator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/PropertyConfigurator.java,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- PropertyConfigurator.java	24 Apr 2002 01:16:13 -0000	1.53
  +++ PropertyConfigurator.java	24 Apr 2002 15:03:44 -0000	1.54
  @@ -12,8 +12,6 @@
   
   package org.apache.log4j;
   
  -import org.apache.log4j.Category;
  -import org.apache.log4j.Priority;
   import org.apache.log4j.DefaultCategoryFactory;
   import org.apache.log4j.config.PropertySetter;
   //import org.apache.log4j.config.PropertySetterException;
  
  
  
  1.15      +0 -3      jakarta-log4j/src/java/org/apache/log4j/PatternLayout.java
  
  Index: PatternLayout.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/PatternLayout.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- PatternLayout.java	24 Apr 2002 01:16:13 -0000	1.14
  +++ PatternLayout.java	24 Apr 2002 15:03:44 -0000	1.15
  @@ -8,11 +8,8 @@
   
   package org.apache.log4j;
   
  -import org.apache.log4j.Category;
  -import org.apache.log4j.Priority;
   import org.apache.log4j.Layout;
   import org.apache.log4j.spi.LoggingEvent;
  -import org.apache.log4j.NDC;
   import org.apache.log4j.helpers.PatternParser;
   import org.apache.log4j.helpers.PatternConverter;
   
  
  
  
  1.15      +1 -1      jakarta-log4j/src/java/org/apache/log4j/Logger.java
  
  Index: Logger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/Logger.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- Logger.java	24 Apr 2002 01:16:13 -0000	1.14
  +++ Logger.java	24 Apr 2002 15:03:44 -0000	1.15
  @@ -37,7 +37,7 @@
       Level#DEBUG DEBUG} level. If this category is
       <code>DEBUG</code> enabled, then it converts the message object
       (passed as parameter) to a string by invoking the appropriate
  -    {@link ObjectRenderer}. It then proceeds to call all the
  +    {@link org.apache.log4j.or.ObjectRenderer}. It then proceeds to call all the
       registered appenders in this category and also higher in the
       hierarchy depending on the value of the additivity flag.
   
  
  
  
  1.66      +11 -8     jakarta-log4j/src/java/org/apache/log4j/Category.java
  
  Index: Category.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/Category.java,v
  retrieving revision 1.65
  retrieving revision 1.66
  diff -u -r1.65 -r1.66
  --- Category.java	24 Apr 2002 01:16:14 -0000	1.65
  +++ Category.java	24 Apr 2002 15:03:44 -0000	1.66
  @@ -178,7 +178,7 @@
        hierarchy circumventing any evaluation of whether to log or not
        to log the particular log request.
   
  -     @param LoggingEvent the event to log.  */
  +     @param event the event to log.  */
     public
     void callAppenders(LoggingEvent event) {
       int writes = 0;
  @@ -226,7 +226,7 @@
       Level#DEBUG DEBUG} level. If this category is
       <code>DEBUG</code> enabled, then it converts the message object
       (passed as parameter) to a string by invoking the appropriate
  -    {@link ObjectRenderer}. It then proceeds to call all the
  +    {@link org.apache.log4j.or.ObjectRenderer}. It then proceeds to call all the
       registered appenders in this category and also higher in the
       hierarchy depending on the value of the additivity flag.
   
  @@ -322,7 +322,7 @@
        returns a reference to the category, otherwise it returns
        <code>null</code>.
   
  -     @deprecateed Please use {@link LogManager#exists} instead.
  +     @deprecated Please use {@link LogManager#exists} instead.
   
        @version 0.8.5 */
     public
  @@ -338,7 +338,8 @@
       enabled by comparing the level of this category with {@link
       Level#FATAL FATAL} Level. If the category is <code>FATAL</code>
       enabled, then it converts the message object passed as parameter
  -    to a string by invoking the appropriate {@link ObjectRenderer}. It
  +    to a string by invoking the appropriate
  +    {@link org.apache.log4j.or.ObjectRenderer}. It
       proceeds to call all the registered appenders in this category and
       also higher in the hierarchy depending on the value of the
       additivity flag.
  @@ -666,7 +667,8 @@
       enabled by comparing the level of this category with {@link
       Level#INFO INFO} Level. If the category is <code>INFO</code>
       enabled, then it converts the message object passed as parameter
  -    to a string by invoking the appropriate {@link ObjectRenderer}. It
  +    to a string by invoking the appropriate
  +    {@link org.apache.log4j.or.ObjectRenderer}. It
       proceeds to call all the registered appenders in this category and
       also higher in the hierarchy depending on the value of the
       additivity flag.
  @@ -812,8 +814,8 @@
        Log a localized and parameterized message. First, the user
        supplied <code>key</code> is searched in the resource
        bundle. Next, the resulting pattern is formatted using
  -     {@link MessageFormat#format(String,Object[])} method with the user
  -     supplied object array <code>params</code>.
  +     {@link java.text.MessageFormat#format(String,Object[])} method with the
  +     user supplied object array <code>params</code>.
   
        @since 0.8.4
     */
  @@ -1009,7 +1011,8 @@
       enabled by comparing the level of this category with {@link
       Level#WARN WARN} Level. If the category is <code>WARN</code>
       enabled, then it converts the message object passed as parameter
  -    to a string by invoking the appropriate {@link ObjectRenderer}. It
  +    to a string by invoking the appropriate
  +    {@link org.apache.log4j.or.ObjectRenderer}. It
       proceeds to call all the registered appenders in this category and
       also higher in the hieararchy depending on the value of the
       additivity flag.
  
  
  
  1.27      +0 -1      jakarta-log4j/src/java/org/apache/log4j/AsyncAppender.java
  
  Index: AsyncAppender.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/src/java/org/apache/log4j/AsyncAppender.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- AsyncAppender.java	24 Apr 2002 01:16:14 -0000	1.26
  +++ AsyncAppender.java	24 Apr 2002 15:03:45 -0000	1.27
  @@ -10,7 +10,6 @@
   
   package org.apache.log4j;
   
  -import org.apache.log4j.Category;
   import org.apache.log4j.spi.LoggingEvent;
   import org.apache.log4j.helpers.BoundedFIFO;
   import org.apache.log4j.spi.AppenderAttachable;
  
  
  

--
To unsubscribe, e-mail:   <mailto:log4j-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-cvs-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic