We had a similar situation and a local users group member recommended this (Plone, I believe):<br><br><font face="'PrimaSans BT,Verdana,sans-serif'">In unrestricted code (if
you're using zeo, try "zopectl debug"), you can call
object._p_jar.db().history(object._p_oid, None, 10)<br>to get metadata about the last 10 changes to an object.<br>You'll get a list of dictionaries back.<br>Each dictionary has the keys: 'description', 'version', 'time', 'tid', 'user_name', 'size'<br><br>The most interesting of these are time, user_name, and tid (transaction id).<br><br>To get the old state of an object (as a dictionary of its attribute names and values), call<br>object._p_jar.oldstate(object, tid)<br></font><br><br>----- Original Message -----<br>From: iarly selbir | ski0s <iarlyy@gmail.com><br>Date: Wednesday, April 29, 2009 14:24<br>Subject: Re: [Zope] Audit changes<br>To: zope@zope.org<br><br>> has It stored on log file like linux logs or is stored on db ( <br>> in my case<br>> MySQL )?<br>> <br>> Today a developer make changes in something that I can't anymore <br>> access to<br>> web interface, so I need of a other way to see all changes.<br>> <br>> My solution today was restore a MySQL backup of yesterday, so I <br>> lost all<br>> audit changes.<br>> <br>> Thanks in advance.<br>> <br>> <br>> Regards,<br>> <br>> - -<br>> iarly selbir | ski0s<br>> <br>> :wq!<br>> <br>> <br>> On Wed, Apr 29, 2009 at 3:08 PM, Tres Seaver <br>> <tseaver@palladion.com> wrote:<br>> <br>> > -----BEGIN PGP SIGNED MESSAGE-----<br>> > Hash: SHA1<br>> ><br>> > iarly selbir | ski0s wrote:<br>> > > There are a feature to audit all changes done on web manage <br>> interface of<br>> > > Zope/Plone?<br>> ><br>> > The "Undo" tab lets you see a list of all transactions <br>> committed, along<br>> > with the time and the user, and to undo them: it doesn't <br>> show the<br>> > objects which were changed, although it (usually) shows the <br>> path of the<br>> > view which triggered the transaction.<br>> ><br>> ><br>> > Tres.<br>> > - --<br>> > ===================================================================<br>> > Tres <br>> Seaver +1 <br>> 540-429-<br>> 0999 tseaver@palladion.com<br>> > Palladion Software "Excellence by <br>> Design" http://palladion.com<br>> > -----BEGIN PGP SIGNATURE-----<br>> > Version: GnuPG v1.4.6 (GNU/Linux)<br>> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org<br>> ><br>> > iD8DBQFJ+JeT+gerLs4ltQ4RAtXuAKDEIKgTPF4knNZ/PnDpL/0TwFEnOQCg11vl<br>> > JfdV4R2FWA9ipp34H6/T6GU=<br>> > =uJGq<br>> > -----END PGP SIGNATURE-----<br>> ><br>> > _______________________________________________<br>> > Zope maillist - Zope@zope.org<br>> > http://mail.zope.org/mailman/listinfo/zope<br>> > ** No cross posts or HTML encoding! **<br>> > (Related lists -<br>> > http://mail.zope.org/mailman/listinfo/zope-announce<br>> > http://mail.zope.org/mailman/listinfo/zope-dev )<br>> ><br>>