avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-avalon-cornerstone/apps/overlord/src/conf overlord-environment.xml
Date Wed, 28 Nov 2001 07:40:26 GMT
colus       01/11/27 23:40:26

  Modified:    apps/overlord/src/conf overlord-environment.xml
  Log:
  Separate cornerstone blocks log file and overlord log file.
  
  Revision  Changes    Path
  1.2       +10 -3     jakarta-avalon-cornerstone/apps/overlord/src/conf/overlord-environment.xml
  
  Index: overlord-environment.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/apps/overlord/src/conf/overlord-environment.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- overlord-environment.xml	2001/11/25 07:34:00	1.1
  +++ overlord-environment.xml	2001/11/28 07:40:26	1.2
  @@ -9,19 +9,26 @@
   
     <logs version="1.1">
       <factories>
  -      <factory type="block"
  -      class="org.apache.avalon.excalibur.logger.factory.FileTargetFactory"/>
  +      <factory type="block" class="org.apache.avalon.excalibur.logger.factory.FileTargetFactory"/>
       </factories>
   
       <categories>
  +      <category name="overlord" log-level="DEBUG">
  +        <log-target id-ref="overlord"/>
  +      </category>
         <category name="" log-level="DEBUG">
           <log-target id-ref="default"/>
         </category>
       </categories>
   
       <targets>
  -      <block id="default">
  +      <block id="overlord">
           <filename>${app.home}/logs/overlord.log</filename>
  +        <append>false</append>
  +        <format type="pattern"><![CDATA[ %{time} [%7.7{priority}] <<%{category}>>:
%{message}\n%{throwable}]]></format>
  +      </block>
  +      <block id="default">
  +        <filename>${app.home}/logs/cornerstone.log</filename>
           <append>false</append>
           <format type="pattern"><![CDATA[ %{time} [%7.7{priority}] <<%{category}>>:
%{message}\n%{throwable}]]></format>
         </block>
  
  
  

--
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