[Zope-dev] Log procedure
Russ Ferriday
russf at topia.com
Tue Jul 27 10:26:31 EDT 2004
How about pound doing the logging?
It's working nicely here.
--r.
On 27 Jul 2004, at 14:18, Chris McDonough wrote:
> Just curious: rather than jump through hoops to try to make Zope log
> the
> right IP would it be possible for you to put Apache in front of Pound
> and have it do the logging? This would also provide a single log for
> all requests (no matter which backend server they made it to).
>
> On Tue, 2004-07-27 at 06:29, Egon wrote:
>> I have a Zope server behind a proxy server (
>> http://www.apsis.ch/pound ), in Zope, I am configured
>> zope.conf ( trust-servers and cgi-environment).
>> But in the log file, I can see only the ip of the
>> proxy, when I want to see the client ip.
>> HTTP-FORWARDED-FROM is set.
>> But Zope logs REMOTEADDR in place of FORWARDED-FROM.
>> I think that I may modify any python file in order to
>> log FORWARDED-FROM , but I cannot find the py file
>> that I may modify.
>>
>> Could anybody help me? I want to log the
>> forwarded-from value.
>>
>> Thanks.
>>
>>
>>
>> ______________________________________________
>> Yahoo! lanza su nueva tecnología de búsquedas
>> ¿te atreves a comparar?
>> http://busquedas.yahoo.es
>> _______________________________________________
>> Zope-Dev maillist - Zope-Dev at zope.org
>> http://mail.zope.org/mailman/listinfo/zope-dev
>> ** No cross posts or HTML encoding! **
>> (Related lists -
>> http://mail.zope.org/mailman/listinfo/zope-announce
>> http://mail.zope.org/mailman/listinfo/zope )
>>
>
> _______________________________________________
> Zope-Dev maillist - Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope )
>
—————————————————————
Russ Ferriday
Solution Workshops for Plone
(+44) (0) 7789 338868
http://www.solutionworkshops.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1937 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20040727/95ed7871/attachment.bin
More information about the Zope-Dev
mailing list