forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: New Coocon Debugging Feature
Date Tue, 03 Jan 2006 01:31:44 GMT
Thanks. We already had a debug.log configured for that.
Now i know why it was never being used.

So today i added default configuration to our xconf
(off by default).

-David

Carsten Ziegeler wrote:
> Ok, actually I was wrong - but only partially :)
> 
> The debugger works as described, but it does not output to the console
> but to the logger - I don't know the logging configuration for Forrest,
> but with standard Cocoon you get the output in the core.log - all
> messages are logged with the level INFO.
> So, you can define a debug log category in your logging configuration
> and then use this for the debugger, for example:
> 
> <component role="org.apache.cocoon.sitemap.SitemapExecutor"
> class="org.apache.cocoon.profiler.debugging.SimpleSitemapExecutor"
> logger="debugger"/>
> 
> and then you can get all the debugging messages in a separate log file.
> 
> HTH
> Carsten

Mime
View raw message