You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/04/08 15:21:59 UTC
DO NOT REPLY [Bug 28279] New: -
[PATCH] Logging all requests
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28279>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28279
[PATCH] Logging all requests
Summary: [PATCH] Logging all requests
Product: Cocoon 2
Version: Current CVS 2.1
Platform: All
OS/Version: All
Status: NEW
Severity: Enhancement
Priority: Other
Component: core
AssignedTo: dev@cocoon.apache.org
ReportedBy: surjan.singh@misgl.com
Hello,
I've created a patch that will allow Coocon to log all requests, before they are
serviced.
With the patch, I think you'll need to do a "patch -p1" from with the coocon-2.1
cvs dir.
To use the new component, add a line similar to the following in your
cocoon.xconf:
<component class="<your-package>.RequestLoggerImpl"
logger="requestlogger" role="org.apache.cocoon.RequestLogger"/>
Also, there are comments in the RequestLogger interface that explain how
to use it (a bit).
(This was originally posted to the cocoon dev mailing list:
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=108135682300075&w=2)
Surj