[Zope3-dev] Additional address(es) in access.log

Jim Washington jwashin at vt.edu
Tue Jan 31 07:06:36 EST 2006


I have attached a diff against zope.twisted.web2.log that puts 
additional ip address(es) in access.log.

With this patch, the ip address section in the log may become a list of 
addresses delimited with '>'. 

It uses the 'x-forwarded-for' headers, so the info may not be trustable, 
but it is much more informative than '192.168.1.1' for every address if 
you run z3 behind a proxy like pound.

Please pardon if the patch is not-quite-right.  I did not read the 
directions.

-Jim Washington

-------------- next part --------------
A non-text attachment was scrubbed...
Name: x-forwarded-for_in_log.diff
Type: text/x-patch
Size: 1401 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope3-dev/attachments/20060131/4992a3f1/x-forwarded-for_in_log.bin


More information about the Zope3-dev mailing list