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
* Toby Dickenson <tdickenson@devmail.geminidataloggers.co.uk> [010524 10:47]:
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...... <snip>
Should ZServer be changed so that it logs a longer, more accurate, synthesized URL for these POST requests, much like it does for FTP?
Well, I just hacked it to log Host name and specified Cookies. Everyone's got different requirements, so what would be really nice is a proper, user configurable log format like mod_log_config in apache or more other servers. If anyone has the time to do it... seb
participants (2)
-
seb bacon -
Toby Dickenson