You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-cvs@jakarta.apache.org by ce...@apache.org on 2001/01/17 09:31:56 UTC

cvs commit: jakarta-log4j/org/apache/log4j/helpers OptionConverter.java

ceki        01/01/17 00:31:56

  Modified:    doc      TROUBLESHOOT.html
               org/apache/log4j PropertyConfigurator.java
               org/apache/log4j/helpers OptionConverter.java
  Log:
  No comment.
  
  Revision  Changes    Path
  1.2       +9 -1      jakarta-log4j/doc/TROUBLESHOOT.html
  
  Index: TROUBLESHOOT.html
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/doc/TROUBLESHOOT.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TROUBLESHOOT.html	2001/01/11 11:59:32	1.1
  +++ TROUBLESHOOT.html	2001/01/17 08:31:53	1.2
  @@ -141,7 +141,15 @@
   try to cast it to the sub-class type, you will systematically get a
   <code>ClassCastException</code>.
   
  -To address this problem, the <code>PropertyConfigurator</code> admits the 
  +<p>To address this problem, the <code>PropertyConfigurator</code> admits
  +the <code>log4j.categoryFactory</code> key. The value of this key will
  +be used as the factory to invoke when instantiating Category objects.
  +See <a
  +href="../javadoc/org/apache/log4j/PropertyConfigurator.html">PropertyConfigurator</a>
  +for more details.
  +
  +<p>The <code>DOMConfigurator</code> has a finer grain method for
  +setting the class of the category object to instantiate.
   
   </body>
   </html>
  
  
  
  1.8       +1 -1      jakarta-log4j/org/apache/log4j/PropertyConfigurator.java
  
  Index: PropertyConfigurator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/org/apache/log4j/PropertyConfigurator.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PropertyConfigurator.java	2001/01/08 17:55:43	1.7
  +++ PropertyConfigurator.java	2001/01/17 08:31:54	1.8
  @@ -8,7 +8,7 @@
   
   // Contibutors: "Luke Blanshard" <Lu...@quiq.com>
   //              "Mark DONSZELMANN" <Ma...@cern.ch>
  -//              Anders Kristensen <ak...@dynamicsoft.com>
  +//               Anders Kristensen <ak...@dynamicsoft.com>
   
   package org.apache.log4j;
   
  
  
  
  1.7       +3 -2      jakarta-log4j/org/apache/log4j/helpers/OptionConverter.java
  
  Index: OptionConverter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-log4j/org/apache/log4j/helpers/OptionConverter.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- OptionConverter.java	2001/01/11 19:48:37	1.6
  +++ OptionConverter.java	2001/01/17 08:31:55	1.7
  @@ -19,10 +19,9 @@
   // Contributors:   Avy Sharell (sharell@online.fr)
   
   /**
  -   A convinience class to convert property values to specific types.
  +   A convenience class to convert property values to specific types.
   
      @author Ceki G&uuml;lc&uuml;
  -   @author Avy Sharell
   */	
   public class OptionConverter {
   
  @@ -310,6 +309,8 @@
   
        <p>All configurations steps are taken on the
        <code>hierarchy</code> passed as parameter.
  +     
  +     @author based on code written by Anders Kristensen
   
        @since 1.0 */
     static