cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From froehl...@apache.org
Subject cvs commit: xml-cocoon2/webapp/WEB-INF web.xml logkit.xconf
Date Thu, 20 Dec 2001 15:15:18 GMT
froehlich    01/12/20 07:15:18

  Modified:    webapp/WEB-INF web.xml logkit.xconf
  Log:
  changed log targets: removed old and added access,core,error and sitemap
  
  Revision  Changes    Path
  1.18      +2 -2      xml-cocoon2/webapp/WEB-INF/web.xml
  
  Index: web.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/WEB-INF/web.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- web.xml	2001/12/13 18:26:23	1.17
  +++ web.xml	2001/12/20 15:15:18	1.18
  @@ -62,7 +62,7 @@
       -->
       <init-param>
         <param-name>servlet-logger</param-name>
  -      <param-value>root</param-value>
  +      <param-value>access</param-value>
       </init-param>
   
       <!--
  @@ -74,7 +74,7 @@
       -->
       <init-param>
         <param-name>cocoon-logger</param-name>
  -      <param-value>cocoon</param-value>
  +      <param-value>core</param-value>
       </init-param>
   
       <!--
  
  
  
  1.3       +31 -24    xml-cocoon2/webapp/WEB-INF/logkit.xconf
  
  Index: logkit.xconf
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/webapp/WEB-INF/logkit.xconf,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- logkit.xconf	2001/08/31 07:28:37	1.2
  +++ logkit.xconf	2001/12/20 15:15:18	1.3
  @@ -8,8 +8,8 @@
     </factories>
   
     <targets>
  -    <cocoon id="cocoon">
  -      <filename>${context-root}/WEB-INF/logs/cocoon.log</filename>
  +    <cocoon id="core">
  +      <filename>${context-root}/WEB-INF/logs/core.log</filename>
         <format type="cocoon">
           %7.7{priority} %{time}   [%8.8{category}] (%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable}
         </format>
  @@ -22,8 +22,8 @@
         </rotation>
       </cocoon>
   
  -    <cocoon id="root">
  -      <filename>${context-root}/WEB-INF/logs/root.log</filename>
  +    <cocoon id="sitemap">
  +      <filename>${context-root}/WEB-INF/logs/sitemap.log</filename>
        
         <format type="cocoon">
           %7.7{priority} %{time}   [%8.8{category}] (%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable}
  @@ -37,8 +37,8 @@
         </rotation>
       </cocoon>
   
  -    <cocoon id="components">
  -      <filename>${context-root}/WEB-INF/logs/components.log</filename>
  +    <cocoon id="access">
  +      <filename>${context-root}/WEB-INF/logs/access.log</filename>
         <format type="cocoon">
           %7.7{priority} %{time}   [%8.8{category}] (%{uri}) %{thread}/%{class:short}: %{message}\n%{throwable}
         </format>
  @@ -50,29 +50,36 @@
           </or>
         </rotation>
       </cocoon>
  -
  -    <priority-filter id="filter" log-level="ERROR">
  -      <servlet>
  -        <format type="extended">%7.7{priority} %5.5{time}: %{message}\n%{throwable}</format>
  -      </servlet>
  +   
  +    <priority-filter id="error" log-level="ERROR">
  +      <cocoon>
  +        <filename>${context-root}/WEB-INF/logs/error.log</filename>
  +        <format type="cocoon">
  +          %7.7{priority} %{time}   [%8.8{category}] (%{uri}) %{thread}/%{class:short}:
%{message}\n%{throwable}
  +        </format>
  +        <append>true</append>
  +        <rotation type="revolving" init="1" max="4">
  +          <or>
  +            <size>100m</size>
  +            <time>01:00:00</time>
  +          </or>
  +        </rotation>
  +      </cocoon>
       </priority-filter>
     </targets>
   
     <categories>
  -    <category name="cocoon" log-level="DEBUG">
  -      <log-target id-ref="cocoon"/>
  +    <category name="core" log-level="DEBUG">
  +      <log-target id-ref="core"/>
  +      <log-target id-ref="error"/>
       </category>
  -    <category name="root" log-level="DEBUG">
  -      <log-target id-ref="root"/>
  -      <category name="store" log-level="DEBUG">
  -         <log-target id-ref="components"/>
  -         <log-target id-ref="filter"/>
  -      </category>
  -
  -      <category name="xslt" log-level="DEBUG">
  -         <log-target id-ref="components"/>
  -         <log-target id-ref="filter"/>
  -      </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"/>
  +    </category> 
     </categories>
   </logkit>
  
  
  

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