You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ralph Goers <Ra...@dslextreme.com> on 2004/08/10 19:36:20 UTC
Re: Logging all HTTP Requests to a database
Craig,
There is a sample RequestListener in the src/Samples directory. It isn't
particularly useful, but it is a start. To enable the request listener
add the following to cocoon.xconf:
<component class="com.whatever.MyServletRequestListener"
logger="core.manager.listener"
role="org.apache.cocoon.RequestListener">
</component>
That's all there is to it.
Ralph
Craig Christophersen said:
> Hello;
> I am looking into doing something similar where I will cache all requests
> for the session, then commit them to a database(thru middleware) upon
> exit.
> I downloaded the new 2.1.5.1 (currently using 2.1.4)version to look into
> the RequestListener but find little info on it. Any help on how to
> implement it? I find nothing when
> searching the Wiki.
>
> Craig Christophersen
> (406)496-6421
> craigch@synesis7.com