froehlich 01/12/20 10:56:27 Modified: documentation/xdocs faq.xml Log: added new Q/A: Where do I setup LogKit in Cocoon? Revision Changes Path 1.4 +32 -2 xml-cocoon2/documentation/xdocs/faq.xml Index: faq.xml =================================================================== RCS file: /home/cvs/xml-cocoon2/documentation/xdocs/faq.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- faq.xml 2001/11/18 04:54:18 1.3 +++ faq.xml 2001/12/20 18:56:27 1.4 @@ -238,7 +238,7 @@ </question> <answer> <p> - Check the Cocoon error log under WEB-INF/logs/cocoon.log: the error + Check the Cocoon error log under WEB-INF/logs/error.log: the error you are seeing is actually a consequence of something that went wrong in the Cocoon process. The root cause of the exception is usually reported there. @@ -275,7 +275,7 @@ </map:match> </map:pipeline> </map:pipelines> - ]]> + ]]>cocoon </source> </answer> </faq> @@ -637,6 +637,36 @@ <note> This method is supposed to work under JBuilder4.0 as well. </note> + </answer> +</faq> +<faq> + <question> + Where do i setup LogKit in Cocoon? + </question> + <answer> + <p>1. <code>{cocoon}/WEB-INF/logkit.xconf</code>:</p> + <p>Please refer to the Avalon Excalibur Documentation:</p> + <link href="http://jakarta.apache.org/avalon/excalibur/logger.html"> + Avalon Excalibur LogKit Management</link> + <p>2. <code>{cocoon}/WEB-INF/web.xml</code>:</p> + <p>Here you can change following paramters:</p> + <ul> + <li><code>logkit-config</code>: This parameter indicates the configuration + file of the LogKit management</li> + <li><code>servlet-logger</code>: This parameter indicates the category id + of the logger from the LogKit configuration used by the CocoonServlet.</li> + <li><code>cocoon-logger</code>: 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><code>log-level</code>: 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> + <note>See inline comments in this files for further information!</note> </answer> </faq> </faqs>
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]