[Zope] Logging users in Zope 2.x (second try)

Martijn Pieters mj@digicool.com
Fri, 3 Mar 2000 23:55:54 +0100


From: "Hannu Krosing" <hannu@tm.ee>
> How should I configure logging to get usernames into Z2.log
>
> I first hoped to get it from Apache's access_log, but it saves
> username only when doing user authentication itself.
>
> Then I thought that Zope at least would log it and migrated the
> site to Zope 2.1.3 to get logging support.
>
> Unfortunately it does still not log usernames and I have not
> found the place where I could turn it on.
>
> Also the format is buggy:
>
> Apache access_log:
>
> 193.40.215.135 - - [11/Feb/2000:08:29:55 +0200] "GET / HTTP/1.1" 200 2673
>
> Zope Z2.log
>
> 127.0.0.1- - [11/Feb/2000:19:04:46 +0300] "GET /misc_/OFSP/dtmlmethod.gif"
200
> 1000
>
> the bug being the missing space after the IP address.
>
> what I was hoping for would have looked like:
>
> 127.0.0.1 - superuser [11/Feb/2000:19:04:46 +0300] "GET /manage" 200 1000

Could you file a bug report at:

 http://www.zope.org:8080/Collector

so's we don't forget?

Thanks!

Martijn Pieters
| Software Engineer    mailto:mj@digicool.com
| Digital Creations  http://www.digicool.com/
| Creators of Zope       http://www.zope.org/
|   The Open Source Web Application Server
---------------------------------------------