bruno       2003/07/22 04:55:03

  Added:       src/blocks/woody/conf woody-binding.xconf
                        woody-category.xlog woody-target.xlog
  Log:
  Binding framework patch by Marc Portier (see bugzilla 21671)
  
  Revision  Changes    Path
  1.1                  cocoon-2.1/src/blocks/woody/conf/woody-binding.xconf
  
  Index: woody-binding.xconf
  ===================================================================
  <?xml version="1.0"?>
  
  <xconf xpath="/cocoon" 
         remove="/cocoon/[EMAIL 
PROTECTED]'org.apache.cocoon.woody.binding.BindingManager']">
         
    <component 
        class="org.apache.cocoon.woody.binding.JXPathBindingManager" 
          role="org.apache.cocoon.woody.binding.BindingManager" 
          logger="woody.binding" >
          <!-- maybe in future change to woody logging? -->
    </component>
  
  </xconf>      
  
  
  1.1                  cocoon-2.1/src/blocks/woody/conf/woody-category.xlog
  
  Index: woody-category.xlog
  ===================================================================
  <?xml version="1.0"?>
  
  <!-- mind how xpatch oddly requires the file extension to 
        be equal to the root elm -->
        
  <xlog xpath="/logkit/categories" 
        remove="/logkit/categories/[EMAIL PROTECTED]'woody']">
      
      <category log-level="debug" name="woody">
        <log-target id-ref="woody" />
      </category>
      
  </xlog>
  
  
  1.1                  cocoon-2.1/src/blocks/woody/conf/woody-target.xlog
  
  Index: woody-target.xlog
  ===================================================================
  <?xml version="1.0"?>
  
  <xlog xpath="/logkit/targets" 
        remove="/logkit/targets/[EMAIL PROTECTED]'woody']">
      
      <cocoon id="woody">
        <filename>${context-root}/WEB-INF/logs/woody.log</filename>
  
        <format type="cocoon">
          %7.7{priority} %{time}   [%{category}] (%{uri}) 
%{thread}/%{class:short}: %{message}\n%{throwable}
        </format>
        <append>false</append>
      </cocoon>
      
  </xlog>
  
  

Reply via email to