cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giac...@apache.org
Subject cvs commit: xml-cocoon2/webapp/WEB-INF logkit.xconf
Date Thu, 30 Aug 2001 19:17:35 GMT
giacomo     01/08/30 12:17:35

  Added:       webapp/WEB-INF logkit.xconf
  Log:
  added initial support for the LogKit Management System
  
  Revision  Changes    Path
  1.1                  xml-cocoon2/webapp/WEB-INF/logkit.xconf
  
  Index: logkit.xconf
  ===================================================================
  <?xml version="1.0"?>
  
  <logkit>
    <factories>
      <factory type="priority-filter" class="org.apache.avalon.excalibur.logger.factory.PriorityFilterTargetFactory"/>
      <factory type="servlet" class="org.apache.avalon.excalibur.logger.factory.ServletTargetFactory"/>
      <factory type="cocoon" class="org.apache.cocoon.util.log.CocoonTargetFactory"/>
    </factories>
  
    <targets>
      <cocoon id="cocoon">
        <filename>${context-root}/WEB-INF/logs/cocoon.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="2">
          <or>
            <size>100m</size>
            <time>16:34:00</time>
            <time>16:35:00</time>
            <time>16:36:00</time>
            <time>16:37:00</time>
            <time>16:38:00</time>
            <time>16:39:00</time>
          </or>
        </rotation>
      </cocoon>
  
      <cocoon id="root">
        <filename>${context-root}/WEB-INF/logs/root.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="2">
          <or>
            <size>100m</size>
            <time>16:34:00</time>
            <time>16:35:00</time>
            <time>16:36:00</time>
            <time>16:37:00</time>
            <time>16:38:00</time>
            <time>16:39:00</time>
          </or>
        </rotation>
      </cocoon>
  
      <cocoon id="components">
        <filename>${context-root}/WEB-INF/logs/components.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="2">
          <or>
            <size>100m</size>
            <time>16:34:00</time>
            <time>16:35:00</time>
            <time>16:36:00</time>
            <time>16:37:00</time>
            <time>16:38:00</time>
            <time>16:39:00</time>
          </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>
    </targets>
  
    <categories>
      <category name="cocoon" log-level="DEBUG">
        <log-target id-ref="cocoon"/>
      </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>
    </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