[Zope] URLs in Z2.log

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 24 May 2001 10:42:07 +0100


Zope's log file currently records the URL as sent by the http client
in its http access log. In the case of an FTP request it logs an
equivalent URL, synthesized by ZServer.

I am beginning to believe that this is subtly wrong......

What it really needs to log is the URL of the published method. This
makes a difference in only a few situations:

1. In a POST request, if the body contains a :method parameter.

2. In an xmlrpc request, which is also POST, where the message
   method name is contained in the method body, and
   possibly sub-object names to.

Should ZServer be changed so that it logs a longer, more accurate,
synthesized URL for these POST requests, much like it does for FTP?

Toby Dickenson
tdickenson@geminidataloggers.com