cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carsten Ziegeler <>
Subject Re: svn commit: r208646 - /cocoon/trunk/src/java/org/apache/cocoon/core/
Date Fri, 01 Jul 2005 09:51:44 GMT
Ralph Goers wrote:
> I would have no problem with that if LoggerManager had a method that was 
> called at the beginning of a request.  If that was the case I wouldn't 
> even be using the Cocoon ContextMap as our LoggingFramework has its own 
> equivalent (for Log4J NDC type stuff).  This would actually simplify my 
> code.  What would the method signature look like?
I'm thinking of providing an ExtendedLoggerManager interface that
extends the LoggerManager by two methods:
Object createPerRequestLoggingContext(Environment env);
void cleanupPerRequestLoggingContext(Object o)

The first method is called at the beginning of each request and can
return a handle which is used as input to the second method at the end
of each request.



Carsten Ziegeler - Open Source Group, S&N AG

View raw message