cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <Ralph.Go...@digitalinsight.com>
Subject RE: Logging all requests
Date Tue, 06 Apr 2004 22:03:05 GMT
Sure there is. But that doesn't necessarily integrate too well with JMX or
necessarily for what Surjan wants to do.

-----Original Message-----
From: Joerg Heinicke [mailto:joerg.heinicke@gmx.de] 
Sent: Tuesday, April 06, 2004 2:27 PM
To: dev@cocoon.apache.org
Subject: Re: Logging all requests

Maybe I'm missing something, but isn't there an access.log?

Joerg

On 06.04.2004 16:12, Ralph Goers wrote:

> I was just looking into this over the last week. Unfortunately, neither
the
> process method or anything in CocoonServlet provide a hook to log or
capture
> the kind of statistics you want. In my case, I am adding some JMX
> statistics. The only way I see to do it, short of modifying one of the
> classes, is to use a servlet filter. That should also work for you.
> 
> Ralph
> 
> -----Original Message-----
> From: Surjan Singh [mailto:surjan.singh@misgl.com] 
> 
> Hello,
> 
> I'd like to log all Requests so that we can record them for analysis.
> 
> So, far the only way I think I can do this is to modify the method 
> process(..) in org.apache.cocoon. In this method, I thought I could use 
> a logging component (which has yet to be created) from the component 
> manager and (if it exists) to invoke a log method on it.
> 
> What do you think? Is this the right way to go about this?
> 
> Surj

Mime
View raw message