cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/webapp/WEB-INF logkit.xconf
Date Sat, 27 Apr 2002 17:30:02 GMT
vgritsenko    02/04/27 10:30:02

  Modified:    src/webapp/WEB-INF Tag: cocoon_2_0_3_branch logkit.xconf
  Log:
  add log targets to sub categories, document logkit features
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.6.2.2   +32 -4     xml-cocoon2/src/webapp/WEB-INF/logkit.xconf
  
  Index: logkit.xconf
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/webapp/WEB-INF/logkit.xconf,v
  retrieving revision 1.6.2.1
  retrieving revision 1.6.2.2
  diff -u -r1.6.2.1 -r1.6.2.2
  --- logkit.xconf	20 Apr 2002 08:12:36 -0000	1.6.2.1
  +++ logkit.xconf	27 Apr 2002 17:30:02 -0000	1.6.2.2
  @@ -66,19 +66,47 @@
     <categories>
       <!--
         log-level: One of DEBUG, INFO, WARN, ERROR, FATAL_ERROR.
  +      Log level could be different for every category and subcategory.
  +
  +      Not all subcategories are defined in this file. Not defined
  +      subcategories will be created automatically inheriting settings
  +      of the parent subcategory.
  +      When defining subcategory manually, it is required to specify log
  +      targets, because they are not inherited in this case.
       -->
       <category name="core" log-level="DEBUG">
  -      <category name="startup" log-level="DEBUG"/>
  -      <category name="roles" log-level="DEBUG"/>
  -      <category name="manager" log-level="DEBUG"/>
  -      <category name="store" log-level="DEBUG"/>
  +      <!-- Startup component manager logger -->
  +      <category name="startup" log-level="DEBUG">
  +        <log-target id-ref="core"/>
  +        <log-target id-ref="error"/>
  +      </category>
  +
  +      <category name="roles" log-level="DEBUG">
  +        <log-target id-ref="core"/>
  +        <log-target id-ref="error"/>
  +      </category>
  +
  +      <!-- Cocoon component manager logger -->
  +      <category name="manager" log-level="DEBUG">
  +        <log-target id-ref="core"/>
  +        <log-target id-ref="error"/>
  +      </category>
  +
  +      <!-- Cocoon cache and stores logger -->
  +      <category name="store" log-level="DEBUG">
  +        <log-target id-ref="core"/>
  +        <log-target id-ref="error"/>
  +      </category>
  +
         <log-target id-ref="core"/>
         <log-target id-ref="error"/>
       </category>
  +
       <category name="sitemap" log-level="DEBUG">
         <log-target id-ref="sitemap"/>
         <log-target id-ref="error"/>
       </category>
  +
       <category name="access" log-level="DEBUG">
         <log-target id-ref="access"/>
         <log-target id-ref="error"/>
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message