What about a servlet filter?

Carsten

Bertrand Delacretaz  wrote
> Hi,
> 
> I'd like to implement a custom request logging service that outputs
> something like:
> 
> <request duration>#<http method>#<resource path>#<value of "foo"
> request parameter>#
> 
> just on request exit, in a parsable format, for performance analysis purposes.
> 
> But neither RequestLoggerService nor RequestLogger [1] implement
> public interfaces, so they don't seem to be replaceable.
> 
> Is that by design?
> 
> Otherwise I can add public interfaces that both of those implement, to
> make it possible to customize/replace them.
> 
> -Bertrand
> 
> [1] 
> http://svn.apache.org/repos/asf/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/log/
> 


-- 
Carsten Ziegeler
[email protected]

Reply via email to