Re: track actions of authenticated users
Julien Anguenot <[email protected]>
| Newsgroups | gmane.comp.web.zope.cps.devel |
|---|---|
| Organization | NUXEO |
| Message-ID | <[email protected]> |
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 _______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
signature.asc
(application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFE0LKEGhoG8MxZ/pIRArAHAJ9CKFIgQogTVcumVkj+22PoUcO/qwCfdNvG E8wdjYaO4+b4LegKkrEC5Ng= =kELU -----END PGP SIGNATURE-----