Re: [Zope3-dev] Twisted? We lost the username in the access.log
Jim Fulton wrote: This is fairly serious, but I don't want it to delay 3.2.1 final. I suggest we try to fix this the week after the final release. I'd like to shoot for getting a 3.2.1 release out around the end of January. I'd like to see a beta release around the middle of the month. Any word on this? This afternoon, I put together a hack that involves pushing the response's authuser in a header (zope.publisher.http.HTTPResponse.getHeaders) to twisted's response, then using that in the logger (twisted.web2.log.BaseCommonAccessLoggingObserver.emit). I am mainly interested in getting x-forwarded-for in the log (my machines are all behind pound, and 127.0.0.1 as ip address is pretty useless), but I found the XXX about user while I was spelunking there. -Jim Washington ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] Twisted? We lost the username in the access.log
On Saturday 26 November 2005 17:04, Roger Ineichen wrote: We lost the user name information at the beginning of november. Any idea if we could get this information back? Yeah, I was hoping to get this done and coordinated before the release, but I did not. What we really need here is a WSGI spec change. In the short term we need to communicate with the Twisted developers (specifically James Knight) to get the user name transported via a special environment variable. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] Twisted? We lost the username in the access.log
On Tuesday 03 January 2006 10:33, Jim Fulton wrote: Did we also lose the information when using zope.server? I fear so. Yep. Has this been brought up on the Web SIG mailing list? We originally wanted to wait and try a sample implementation between Twisted and Zope 3 first. I think this was a bad idea. I'd say that that is the place to start. Right. Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
Re: [Zope3-dev] Twisted? We lost the username in the access.log
This is fairly serious, but I don't want it to delay 3.2.1 final. I suggest we try to fix this the week after the final release. I'd like to shoot for getting a 3.2.1 release out around the end of January. I'd like to see a beta release around the middle of the month. Jim Stephan Richter wrote: On Tuesday 03 January 2006 10:33, Jim Fulton wrote: Did we also lose the information when using zope.server? I fear so. Yep. Has this been brought up on the Web SIG mailing list? We originally wanted to wait and try a sample implementation between Twisted and Zope 3 first. I think this was a bad idea. I'd say that that is the place to start. Right. Regards, Stephan -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! CTO (540) 361-1714http://www.python.org Zope Corporation http://www.zope.com http://www.zope.org ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Twisted? We lost the username in the access.log
Hi together We lost the user name information at the beginning of november. Any idea if we could get this information back? Before: 127.0.0.1 - anonymous [2/Oct/2005:09:27:44 +0200] GET /++skin++Admin/ After: 127.0.0.1 - - [2/Nov/2005:09:24:17 +0200] GET /@@contents.html I guess this is becuase of the twisted integration. But I'm not sure. Are there any information about using custom logger formats? I see only the comment: - Note that the setting of verbosity level and message formats are not used. All logging is done using the Common Log Format. - in zope.app.twisted.accesslog.xml Regards Roger Ineichen _ Projekt01 GmbH www.projekt01.ch Langackerstrasse 8 6330 Cham phone +41 (0)41 781 01 78 mobile+41 (0)79 340 52 32 fax +41 (0)41 781 00 78 email [EMAIL PROTECTED] _ END OF MESSAGE ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com