cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Cocoon Configuration FAQs
Date Thu, 22 Sep 2005 13:05:54 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/legacydocs/709.html

Document ID: 709
Branch: main
Language: default
Name: Cocoon Configuration FAQs (unchanged)
Document Type: Document (unchanged)
Updated on: 9/22/05 1:05:38 PM
Updated by: Helma van der Linden

A new version has been created, state: publish

Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 3348 bytes (previous version: 3103 bytes)
Content diff:
(18 equal lines skipped)
    <role-list>
      <role name="org.apache.cocoon.components.jsp.JSPEngine"
            shorthand="jsp-engine"
---         default-class="org.apache.cocoon.components.jsp.JSPEngineImplWLS"/>
+++         default-class="org.apache.cocoon.components.jsp.JSPEngineImplWLS"/>   
    </role-list>
    </pre>
    
    <h2>Where do I setup LogKit in Cocoon?</h2>
    
--- <p>1. {cocoon}/WEB-INF/logkit.xconf:</p>
+++ <p>1. <tt>{cocoon}/WEB-INF/logkit.xconf</tt>:</p>
    
--- <p>Please refer to the Avalon LogKit Documentation</p>
+++ <p>Please refer to the
+++ <a href="http://avalon.apache.org/logkit/index.html">Avalon LogKit
+++ Documentation</a></p>
    
--- <p>2. {cocoon}/WEB-INF/web.xml:</p>
+++ <p>2. <tt>{cocoon}/WEB-INF/web.xml</tt>:</p>
    
    <p>Here you can change following paramters:</p>
    
    <ul>
--- <li>logkit-config: This parameter indicates the configuration file of the LogKit
--- management</li>
--- <li>servlet-logger: This parameter indicates the category id of the logger from
--- the LogKit configuration used by the CocoonServlet.</li>
--- <li>cocoon-logger: This parameter indicates the category id of the logger from
--- the LogKit management configuration for the Cocoon engine. This logger is used
--- for all components described in the cocoon.xconf and sitemap.xmap file not
--- having specified a logger with the logger="..." attribute in the component
--- configuration file.</li>
--- <li>log-level: This parameter indicates the log level to use throughout startup
--- of the system. As soon as the logkit.xconf the setting of the logkit.xconf
--- configuration is used instead! Only for startup and if the logkit.xconf is not
--- readable/available this log level is of importance.</li>
+++ <li><tt>logkit-config</tt>: This parameter indicates the configuration
file of
+++ the LogKit management</li>
+++ <li><tt>servlet-logger</tt>: This parameter indicates the category id
of the
+++ logger from the LogKit configuration used by the CocoonServlet.</li>
+++ <li><tt>cocoon-logger</tt>: This parameter indicates the category id
of the
+++ logger from the LogKit management configuration for the Cocoon engine. This
+++ logger is used for all components described in the cocoon.xconf and sitemap.xmap
+++ file not having specified a logger with the logger="..." attribute in the
+++ component configuration file.</li>
+++ <li><tt>log-level</tt>: This parameter indicates the log level to use
throughout
+++ startup of the system. As soon as the logkit.xconf the setting of the
+++ logkit.xconf configuration is used instead! Only for startup and if the
+++ logkit.xconf is not readable/available this log level is of importance.</li>
    </ul>
    
--- <p>See inline comments in these files for further information!</p>
+++ <p class="note">See inline comments in these files for further information!</p>
    
--- <p>Learn more about LogKit configuration by downloading the free chapter, A
--- User's Look at the Cocoon architecture, from Langham and Ziegeler's <em>Cocoon:
--- Building XML Applications</em> available at the New Riders web site.</p>
+++ <p>Learn more about LogKit configuration by downloading the free chapter,
+++ <a href="http://www.newriders.com/books/product.asp?product_id={C3C05052-BE3B-4E06-A60A-13FB40AF58F6}">A
+++ User's Look at the Cocoon architecture,</a> from Langham and Ziegeler's
+++ <em>Cocoon: Building XML Applications</em> available at the New Riders web
site.
+++ </p>
    
    <h2>How can I change the physical location of my upload directory?</h2>
    
    <p>Look in web.xml file located in &lt;your-webapp&gt;/WEB-INF. There you
will
    find the following snippet:</p>
    
--- <pre>&lt;init-param&gt;
---    &lt;param-name&gt;upload-directory&lt;/param-name&gt;
---    &lt;param-value&gt;/WEB-INF/work/upload-dir&lt;/param-value&gt;
--- &lt;/init-param&gt;    
+++ <pre>    &lt;init-param&gt;
+++       &lt;param-name&gt;upload-directory&lt;/param-name&gt;
+++       &lt;param-value&gt;/WEB-INF/work/upload-dir&lt;/param-value&gt;
+++     &lt;/init-param&gt;
    </pre>
    
    <p>The above snippet shows the default path to the upload directory, specified
(19 equal lines skipped)


Fields
======
no changes

Links
=====
no changes

Custom Fields
=============
no changes

Collections
===========
no changes

Mime
View raw message