[Zope] Z2.log logs user as Anonymous

Paul Winkler pw_lists at slinkp.com
Thu Oct 16 10:24:51 EDT 2003


On Thu, Oct 16, 2003 at 12:01:33PM +0200, Ruth Mizzi wrote:
> The only problem is with my Z2.log... the zope access log. I'd like to use this to gather some statistics about which users log in most frequently etc. What's happening though is that when a user logs into the site and continues browsing through it, the z2.log keeps logging the user as "Anonymous". The only time this changes is when I use the ZMI and in that case the log lists the user as 'admin'.
> 
> Can anyone tell me what I'm missing?

As I understand it, if an object is anonymously accessible, Zope skips 
the authentication / authorization process.  A logged-in user might as 
well be anonymous unless they are looking at an object which requires 
authorization.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's SPARKLING SPASTIC ADMIRAL!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list