On Fri, Oct 23, 2009 at 7:09 PM, Hector Virgen <[email protected]> wrote:
> It might be better to enable the query profiler, which captures all > queries. Then, in a late-running dispatchShutdown() front controller plugin, > you can loop through the queries from the profiler to log all of the > inserts/updates/deletes. This wouldn't require any changes to your models > and would work even if you are querying the DB directly > ($dbAdapter->query(/* sql */)) > > -- > Hector Depending on your site traffic, this could be a very bad idea. The profiler adds noticeable overhead to your site. It shouldn't be used on a production site. --- Philip [email protected] http://www.gpcentre.net/
