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 &lt;iarlyy@gmail.com&gt;<br>Date: Wednesday, April 29, 2009 14:24<br>Subject: Re: [Zope] Audit changes<br>To: zope@zope.org<br><br>&gt; has It stored on log file like linux logs or is stored on db ( <br>&gt; in my case<br>&gt; MySQL )?<br>&gt; <br>&gt; Today a developer make changes in something that I can't anymore <br>&gt; access to<br>&gt; web interface, so I need of a other way to see all changes.<br>&gt; <br>&gt; My solution today was restore a MySQL backup of yesterday, so I <br>&gt; lost all<br>&gt; audit changes.<br>&gt; <br>&gt; Thanks in advance.<br>&gt; <br>&gt; <br>&gt; Regards,<br>&gt; <br>&gt; - -<br>&gt; iarly selbir | ski0s<br>&gt; <br>&gt; :wq!<br>&gt; <br>&gt; <br>&gt; On Wed, Apr 29, 2009 at 3:08 PM, Tres Seaver <br>&gt; &lt;tseaver@palladion.com&gt; wrote:<br>&gt; <br>&gt; &gt; -----BEGIN PGP SIGNED MESSAGE-----<br>&gt; &gt; Hash: SHA1<br>&gt; &gt;<br>&gt; &gt; iarly selbir | ski0s wrote:<br>&gt; &gt; &gt; There are a feature to audit all changes done on web manage <br>&gt; interface of<br>&gt; &gt; &gt; Zope/Plone?<br>&gt; &gt;<br>&gt; &gt; The "Undo" tab lets you see a list of all transactions <br>&gt; committed, along<br>&gt; &gt; with the time and the user, and to undo them:&nbsp; it doesn't <br>&gt; show the<br>&gt; &gt; objects which were changed, although it (usually) shows the <br>&gt; path of the<br>&gt; &gt; view which triggered the transaction.<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Tres.<br>&gt; &gt; - --<br>&gt; &gt; ===================================================================<br>&gt; &gt; Tres <br>&gt; Seaver&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +1 <br>&gt; 540-429-<br>&gt; 0999&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tseaver@palladion.com<br>&gt; &gt; Palladion Software&nbsp;&nbsp; "Excellence by <br>&gt; Design"&nbsp;&nbsp;&nbsp; http://palladion.com<br>&gt; &gt; -----BEGIN PGP SIGNATURE-----<br>&gt; &gt; Version: GnuPG v1.4.6 (GNU/Linux)<br>&gt; &gt; Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org<br>&gt; &gt;<br>&gt; &gt; iD8DBQFJ+JeT+gerLs4ltQ4RAtXuAKDEIKgTPF4knNZ/PnDpL/0TwFEnOQCg11vl<br>&gt; &gt; JfdV4R2FWA9ipp34H6/T6GU=<br>&gt; &gt; =uJGq<br>&gt; &gt; -----END PGP SIGNATURE-----<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; Zope maillist&nbsp; -&nbsp; Zope@zope.org<br>&gt; &gt; http://mail.zope.org/mailman/listinfo/zope<br>&gt; &gt; **&nbsp;&nbsp; No cross posts or HTML encoding!&nbsp; **<br>&gt; &gt; (Related lists -<br>&gt; &gt;&nbsp; http://mail.zope.org/mailman/listinfo/zope-announce<br>&gt; &gt;&nbsp; http://mail.zope.org/mailman/listinfo/zope-dev )<br>&gt; &gt;<br>&gt;