[Zope] Re: Zope User in Apache Logs

2006-05-18 Thread Josef Meile
> If your Zope auth solution can put a header in the http response, then > you can use a custom apache logging directive to put this in your > Apache log in place of what it thinks the username is. I put this on the "log" method of the medusa/http_server.py file: self.response.setHeader('remote

Re: [Zope] Re: Zope User in Apache Logs

2006-05-18 Thread Chris Withers
Josef Meile wrote: > If your Zope auth solution can put a header in the http response, then > you can use a custom apache logging directive to put this in your > Apache log in place of what it thinks the username is. I put this on the "log" method of the medusa/http_server.py file: self.respon

[Zope] Re: Zope User in Apache Logs

2006-05-17 Thread Josef Meile
I read the answer from Dieter and unfortunately I'm not authenticating from Apache. So, I went for the approach indicated by Chris Withers without any success: > If your Zope auth solution can put a header in the http response, then > you can use a custom apache logging directive to put this in

[Zope] Re: Zope User in Apache Logs

2006-05-17 Thread Josef Meile
Dear list, I've been going through the list archives looking for tips on logging (getting sensible statistics from my log files). At the moment I have the setup recommended by most posts, namely multiple Apache virtual hosts that proxies requests to a single Zope instance. I would like to kn