[Zope-dev] Best way to do access logging?

Andrew Wilcox circle@gwi.net
Thu, 11 Nov 1999 19:15:22 -0500


At 12:22 AM 11/12/99 +0200, Itamar Shtull-Trauring wrote:
>Andrew Wilcox wrote:
>> 
>> I'm interested in doing some access logging for my Zope site -- a record
>> that such and such an authenticated user accessed such and such a page.
>
>We're starting to work on just that next week, or at least logging changes
>done by authenticated users.
>
>We're going to use SQL - we want to add a workflow tab (together with a
>record of who did what when) to lots of ZClasses, and we don't want to have
>to subclass them from a Workflow class.  So we'll use a workflow object
>that'll be a method of the ZClasses, storing data in an external SQL
>database, 'cause the properties of the method will be in the class, not the
>instances.  And I'd rather not keep this kind of data in Zope anyway.

Sounds neat!  Are you planning to release the code?

What factors lead to your decision to store the records in SQL instead of
in Zope?

Andrew