cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: Logging all requests
Date Tue, 06 Apr 2004 21:27:13 GMT
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