[Zope] Access log & trusted proxy

Phillip Hutchings sitharus at gmail.com
Mon Mar 21 16:17:04 EST 2005


On Mon, 21 Mar 2005 12:40:48 -0000 (GMT), Robert (Jamie) Munro
<jamie at textmatters.com> wrote:
> Is it possible to get zope's access log (Z2.log) to log the IP address of
> the original client, rather than that of the proxy when the proxy is
> listed as a trusted-proxy. Currently, my log files have all clients as
> 127.0.0.1, which isn't very helpful when analysing the logs.

No, because the proxy initialises a new connection to the Zope server,
so the connection to Zope actually does come from 127.0.0.1, not the
client. Get your proxy to log, it's easier.
-- 
Phillip Hutchings
http://www.sitharus.com/
sitharus at gmail.com / sitharus at sitharus.com


More information about the Zope mailing list