You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joerg Heinicke <jh...@virbus.de> on 2003/09/10 18:37:35 UTC

Re: Porting Cocoon Logging to Log4j - Proposal and Discussion

Ralph Goers wrote:
> While I don't agree with the proposal to move from logkit to log4j, I'm not
> sure why CocoonServlet has DefaultLogKitManager hardcoded in it - especially
> since that class is deprecated.

Normal evolution, once upon the time the DefaultLogKitManager was not 
deprecated ...

> It seems to me that I should be able to
> configure Cocoon to use  any implementation of LoggerManager, including
> Log4JLoggerManager or my own custom implmentation.  The default could be
> DefaultLoggerManager (which requires that the "real" LoggerManager be
> configured), or LogKitLoggerManager.

You can try it now, LogKitLoggerManager is the default.

Joerg

>>-----Original Message-----
>>From: Jorg Heymans [mailto:Jorg.Heymans@12snap.com]
>>Sent: Thursday, August 28, 2003 4:18 AM
>>To: 'users@cocoon.apache.org'
>>Subject: RE: Porting Cocoon Logging to Log4j - Proposal and Discussion
>>
>>
>>Reading up on the wiki
>>http://wiki.cocoondev.org/Wiki.jsp?page=ConfiguringTheLogs
>>
>>it seems that all of the stuff you want can be done already 
>>using the avalon
>>logging factories. 
>>
>>It looks maybe a bit more complicated to setup but I'm sure 
>>that once you
>>can configure async JMS logging in log4j you shouldn't have 
>>much problem
>>doing the same for avalon.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org