Access log does not contain user ids

Bug #98461 reported by Fred Drake
2
Affects Status Importance Assigned to Milestone
Zope 3
Won't Fix
Medium
Unassigned
zope.server
Confirmed
Medium
Unassigned

Bug Description

The access log generated by Zope 3 shows "anonymous" for all accesses, authenticated or not. This should be fixed to show something reasonable (principal ids would be nice).

Revision history for this message
michaelly (michaellaunay) wrote :

Bellow a patch which works on Zope 2.9.7-final and maybe on Zope 3 (because of back porting of Zope 3 stuff) thanks to http://lists.nuxeo.com/pipermail/cps-users-fr/2004-February/008504.html.
Go to Zope2.9 directory and follow lib/python/ZServer/medusa
Enter patch -p0 < Zope2.9.7-final_LogPatch.patch
Best regards

Revision history for this message
Martijn Pieters (mjpieters) wrote :

This is a patch against Medusa, which is Zope2 only. Also, it hardcodes the cookiename, which is configurable in CookieCrumbler and derivatives. It doesn't have any bearing on Zope3, I am afraid.

Revision history for this message
Philipp von Weitershausen (philikon) wrote :

Doesn't apply to Zope 3.

Changed in zope3:
status: New → Invalid
Revision history for this message
Fred Drake (fdrake) wrote :

The reported bug doesn't seem to be disputed, so it's still valid. The patch isn't relevant, but we still need to fix the bug for Zope 3. This is a serious wart.

Changed in zope3:
status: Invalid → Confirmed
Revision history for this message
Philipp von Weitershausen (philikon) wrote :

Ah, didn't see the original bug report, only the patch... Thanks for being watchful.

Tres Seaver (tseaver)
Changed in zope.server:
importance: Undecided → Medium
status: New → Confirmed
Changed in zope3:
status: Confirmed → Won't Fix
Tres Seaver (tseaver)
tags: added: bugday20100424
Changed in zope.server:
assignee: nobody → Ilshad Khabibullin (astoon)
Changed in zope.server:
assignee: Ilshad Khabibullin (astoon) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.