forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@apache.org>
Subject Re: Avoid creation of webapp directory
Date Thu, 23 Nov 2006 02:40:51 GMT
Cameron McCormack wrote:
> David Crossley:
> > Use the provided logkit.conf ...
> > http://forrest.apache.org/faq.html and "Find in page" for "log".
> 
> Thanks for the pointer.  I copied Forrest???s logkit.xconf into my conf
> directory, and changed
> 
>   <category name="debug" log-level="DEBUG">
>     <log-target id-ref="debug"/>
>   </category>
> 
> into
> 
>   <category name="debug" log-level="FATAL_ERROR">
>     <log-target id-ref="debug"/>
>   </category>
> 
> to see if that would eliminate the ouptut in the debug.log file, but it
> still produced mountains of info in debug.log.

Ah i remember now ...
http://issues.apache.org/jira/browse/FOR-676
"logkit.xconf has no effect on configuration when in commandline mode"

Try using the central main/webapp/WEB-INF/logkit.xconf

> In fact what I really would like is if I could turn off these log files
> altogether???information printed on the console should be enough.  I tried
> things like removing all of the log-target elements from the file, and
> removing all of the factory, cocoon and category elements from the file,
> but the same log files get generated.  Is it somehow inheriting default
> log settings from Forrest???s installation?  Do I need to do something in
> my cli.xconf file?

No, don't need to tweak cli.xconf for logging.

-David

> I really don???t know anything about Cocoon.  I had a read through of
> http://wiki.apache.org/cocoon/UnderstandingCocoonLogging, but it didn???t
> really help me.
> 
> Thanks,
> 
> Cameron
> 
> -- 
> Cameron McCormack, http://mcc.id.au/
> 	xmpp:heycam@jabber.org  ???  ICQ 26955922  ???  MSN cam@mcc.id.au

Mime
View raw message