avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon/merlin/logging/logkit/test/conf logging.xml
Date Thu, 29 Jan 2004 06:33:54 GMT
mcconnell    2004/01/28 22:33:54

  Modified:    merlin/logging/logkit/test/conf logging.xml
  Log:
  Add comments to the sample confiuration.
  
  Revision  Changes    Path
  1.6       +26 -2     avalon/merlin/logging/logkit/test/conf/logging.xml
  
  Index: logging.xml
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/logging/logkit/test/conf/logging.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- logging.xml	28 Jan 2004 14:42:17 -0000	1.5
  +++ logging.xml	29 Jan 2004 06:33:54 -0000	1.6
  @@ -3,14 +3,25 @@
   <logging debug="false">
   
     <!--
  -  Declaration of the log target.
  +  Declaration of a set of logging targets.
     -->
   
     <targets>
  +
  +    <!--
  +    This target establishes output to the the System.out stream.
  +    The format argument ensures that we don't get stack traces -
  +    but just the error report.
  +    -->
       <stream id="standard">
          <name>System.out</name>
          <format type="console"/>
       </stream>
  +
  +    <!--
  +    This target logs to a rotating file located in 
  +    target/simple-XXX.log
  +    --> 
       <file id="simple">
         <filename>simple.log</filename>
         <append>true</append>
  @@ -18,18 +29,31 @@
           <size>100k</size>
         </rotation>
       </file>
  +
  +    <!--
  +    The multicast target redirects log event to a set of 
  +    named targets.
  +    -->
       <multicast id="multicast">
         <targetref id="standard"/>
         <targetref id="simple"/>
       </multicast>
  +
  +    <!--
  +    The datagram target is a demonstration of the declaration of 
  +    a plugin target.
  +    -->
       <target id="datagram"
           artifact="avalon-logging/avalon-logkit-datagram?version=1.0-SNAPSHOT">
         <address hostname="localhost" port="0"/>
       </target>
  +
     </targets>
   
     <!--
  -  Declaration of the initial logging categories.
  +  Declaration of the initial logging categories.  These categories
  +  and the respective priorities and assigned targets are used by the 
  +  testcase to validate that the logging system is functioning properly.
     -->
   
     <categories priority="info" target="multicast">
  
  
  

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


Mime
View raw message