Hi,

Marco wrote:
> I want to track all actions performed by the members. I think there is no such
> functionality, yet, is there?.

nope that's correct.

> I think the best way would be to log time, userid, ip address, request, and
> answer type (normal, missing, privilege error). Is there a place in CPS code
> where I can place this?

The best way would be to create a dedicated tool which would be
registred as a subscriber of the portal_eventservice that would react on
events and record the activities within an SQL database. We happened to
do that for some of our customer projects. You can then request directly
the SQL database using birt, for instance, to get reports.

Possibly, you will have to throw some new events at some places within
CPS. Feel free to send the patches for this if you choose this way. We
will integrate them.

> A second choice would be to simply log time, userid, and ip address after
> succesful logins. Which is the relevant source file?

$ZOPE_INSTANCE/log/z2.log or the apache log file if you are using apache
in front of Zope.

> What do I have to do to make my code survive CPS updates?

This kind of component should be easily portable since this won't
involve any skins, which is the objects that are not always surviving
updates.
        
        J.

-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - www.nuxeo.com
CPS Platform - http://www.cps-project.org
Mobile: +33 (0) 6 72 57 57 66

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to