You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by vm...@apache.org on 2002/05/23 11:32:35 UTC

cvs commit: jakarta-cactus/documentation/docs/xdocs howto_config.xml

vmassol     02/05/23 02:32:35

  Modified:    documentation/docs/xdocs Tag: CACTUS_13_BRANCH
                        howto_config.xml
  Log:
  corrected docs WRT the log_client|server.properties files that are not located in cactus.jar
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.1   +10 -27    jakarta-cactus/documentation/docs/xdocs/howto_config.xml
  
  Index: howto_config.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-cactus/documentation/docs/xdocs/howto_config.xml,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- howto_config.xml	19 Apr 2002 21:36:01 -0000	1.2
  +++ howto_config.xml	23 May 2002 09:32:34 -0000	1.2.2.1
  @@ -276,10 +276,14 @@
           <s3 title="log_client.properties">
   
             <p>
  -            A default <code>log_client.properties</code> is already provided
  -            in the <code>cactus.jar</code> jar. It is used for
  -            configuring Log4j, which is the logging framework used by Cactus
  -            to log debug information.
  +            This file is used for configuring Log4j, which is the logging
  +            framework used by Cactus to log debug information. A sample
  +            <code>log_client.properties</code> is provided in the Cactus sample
  +            application.
  +          </p>
  +          <p>
  +            You should put this file in your client side classpath if you wish
  +            to enable logging.
             </p>
             <p>
               If the Log4j jar is not present on the client side classpath,
  @@ -300,7 +304,7 @@
               </li>
             </ul>
             <p>
  -            The default <code>log_client.properties</code> is :
  +            The sample <code>log_client.properties</code> is :
             </p>
   
   <source><![CDATA[
  @@ -328,14 +332,6 @@
               <link href="http://jakarta.apache.org/log4j">Log4j web site</link>.
             </p>
   
  -          <p>
  -            If you wish to define another file name and location or other
  -            logging parameter, just provide your own
  -            <code>log_client.properties</code> file (it has to be named this
  -            way) and put in the client side classpath <strong>before</strong>
  -            the <code>cactus.jar</code> file.
  -          </p>
  -
           </s3>
   
           <anchor id="client_command_line"/>
  @@ -603,7 +599,7 @@
               <jump anchor="client_log_client_properties">client side</jump>.
             </p>
             <p>
  -            The default <code>log_server.properties</code> is :
  +            The sample <code>log_server.properties</code> is :
             </p>
   
   <source><![CDATA[
  @@ -625,19 +621,6 @@
   log4j.category.org.apache.cactus = WARN, cactus
   log4j.additivity.org.apache.cactus=false
   ]]></source>
  -
  -          <p>
  -            If you wish to define another file name and location or other
  -            logging parameter, just provide your own
  -            <code>log_server.properties</code> file (it has to be named this
  -            way) and put in the <code>WEB-INF/classes</code> directory of
  -            your webapp (and hope that the webapp classloader of your server
  -            picks up the files in <code>WEB-INF/classes</code> before the ones
  -            in <code>WEB-INF/lib</code>, where <code>cactus.jar</code>
  -            is located ... :) I don't know if this is part of the
  -            specification). Alternatively, edit the file in
  -            <code>cactus.jar</code> !
  -          </p>
   
           </s3>
   
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>