avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/xdocs/assemblers environment-xml-specification.xml
Date Fri, 12 Jul 2002 02:13:06 GMT
donaldp     2002/07/11 19:13:06

  Modified:    src/xdocs/assemblers environment-xml-specification.xml
  Log:
  Correct logs 1.1 example.
  
  Submitted By: Vinay Chandran <vinaysahil@yahoo.com>
  
  Revision  Changes    Path
  1.5       +22 -20    jakarta-avalon-phoenix/src/xdocs/assemblers/environment-xml-specification.xml
  
  Index: environment-xml-specification.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/xdocs/assemblers/environment-xml-specification.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- environment-xml-specification.xml	16 Jun 2002 10:21:46 -0000	1.4
  +++ environment-xml-specification.xml	12 Jul 2002 02:13:06 -0000	1.5
  @@ -86,28 +86,30 @@
           Below is example configuration.
         </p>
           <source><![CDATA[
  -<logger version="1.1">
  -<factories>
  -  <factory type="file"
  -           class="org.apache.avalon.excalibur.logger.factory.FileTargetFactory"/>
  -</factories>
  +<?xml version="1.0"?>
  +<environment>
  +	<logs version="1.1">
  +	<factories>
  +	  <factory type="file" class="org.apache.avalon.excalibur.logger.factory.FileTargetFactory"/>
  +	</factories>
   
  -<categories>
  -  <category name="" log-level="INFO">
  -    <log-target id-ref="default"/>
  -  </category>
  -</categories>
  +	<categories>
  +	  <category name="" log-level="INFO">
  +	    <log-target id-ref="default"/>
  +	  </category>
  +	</categories>
   
  -<targets>
  -  <file id="default">
  -    <filename>{app.home}/logs/default-</filename">
  -    <append>true</append>
  -    <rotation type="unique" pattern="yyyyMMdd" suffix=".log">
  -      <date>yyyyMMdd</date>
  -    </rotation>
  -  </file>
  -</targets>
  -</logger>]]>
  +	<targets>
  +	  <file id="default">
  +	    <filename>${app.home}/logs/default-</filename>
  +	    <append>true</append>
  +	    <rotation type="unique" pattern="yyyyMMdd" suffix=".log">
  +	      <date>yyyyMMdd</date>
  +	    </rotation>
  +	  </file>
  +	</targets>
  +</logs>
  +</environment>]]>
   </source>
       </section>
     </body>
  
  
  

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


Mime
View raw message