Nuxeo mailing list archives
[CPS-devel] Re: track actions of authenticated users
Julien Anguenot
ja at nuxeo.com
Thu Aug 3 01:58:17 CEST 2006
Marco wrote:
> Julien Anguenot wrote:
>
>> 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.
>
> I will consider this approach. But to not expect to much usability of my code.
> My programming skills have rotten the last twenty years
>>> 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.
>
> I ment some sort of entry point in the CPS code where I can write out the IP
> and user ID. Neither in the apache nor in the zope log I find the user id.
The easiest way to hook up would be from "main_template.pt" which is
within CPSSkins, in this case. Check the Zope REQUEST API to extract
from this one the information you're looking for.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.nuxeo.com/pipermail/cps-devel/attachments/20060803/89c2abf2/signature.pgp
More information about the cps-devel
mailing list
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.