Author: crossley Date: Sat Sep 13 19:40:54 2008 New Revision: 695103 URL: http://svn.apache.org/viewvc?rev=695103&view=rev Log: Add a specific "sitemap-execution" log category. (Note that this is already off by default.) Added note about FOR-1109: Not available in Cocoon-2.1
Modified: forrest/trunk/main/webapp/WEB-INF/cocoon.xconf forrest/trunk/main/webapp/WEB-INF/logkit.xconf forrest/trunk/site-author/content/xdocs/howto-dev.xml Modified: forrest/trunk/main/webapp/WEB-INF/cocoon.xconf URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/cocoon.xconf?rev=695103&r1=695102&r2=695103&view=diff ============================================================================== --- forrest/trunk/main/webapp/WEB-INF/cocoon.xconf (original) +++ forrest/trunk/main/webapp/WEB-INF/cocoon.xconf Sat Sep 13 19:40:54 2008 @@ -1018,13 +1018,14 @@ <!-- ========== Components used for debugging ========== --> <!--+ - | Send sitemap execution messages to the debug log category. + | Send sitemap execution messages to the "sitemap-execution" log category. | Warning: It is very verbose. Off by default. +--> +<!-- See FOR-1109: Not available in Cocoon-2.1 --> <!-- <component role="org.apache.cocoon.sitemap.SitemapExecutor" class="org.apache.cocoon.profiler.debugging.SimpleSitemapExecutor" - logger="debug"/> + logger="sitemap-execution"/> --> <!-- ========== Components used for template ========== --> Modified: forrest/trunk/main/webapp/WEB-INF/logkit.xconf URL: http://svn.apache.org/viewvc/forrest/trunk/main/webapp/WEB-INF/logkit.xconf?rev=695103&r1=695102&r2=695103&view=diff ============================================================================== --- forrest/trunk/main/webapp/WEB-INF/logkit.xconf (original) +++ forrest/trunk/main/webapp/WEB-INF/logkit.xconf Sat Sep 13 19:40:54 2008 @@ -251,6 +251,11 @@ <log-target id-ref="error"/> </category> + <category name="sitemap-execution" log-level="WARN"> +<!-- See FOR-1109: Not available in Cocoon-2.1 --> + <log-target id-ref="sitemap-execution"/> + </category> + <category name="deprecation" log-level="WARN"> <log-target id-ref="deprecation"/> </category> Modified: forrest/trunk/site-author/content/xdocs/howto-dev.xml URL: http://svn.apache.org/viewvc/forrest/trunk/site-author/content/xdocs/howto-dev.xml?rev=695103&r1=695102&r2=695103&view=diff ============================================================================== --- forrest/trunk/site-author/content/xdocs/howto-dev.xml (original) +++ forrest/trunk/site-author/content/xdocs/howto-dev.xml Sat Sep 13 19:40:54 2008 @@ -454,8 +454,11 @@ <p> In main/webapp/WEB-INF/xconf/forrest-core.xconf search for "sitemap execution" and uncomment the component. For each sitemap component - that is executed, a message will go to WEB-INF/logs/debug.log + that is executed, a message will go to WEB-INF/logs/sitemap-execution.log </p> + <fixme author="open"> + See <a href="">FOR-1109</a> - Not available in Cocoon-2.1 + </fixme> </section> <section id="debug-logtransformer"> <title>Using Cocoon LogTransformer</title>