Re: Logging raw sql

2011-03-09 Thread Dave Sluder
e of mysql 5.1 and am just executing a query against that to filter the results. On Mar 9, 4:35 am, krzysiekpl wrote: > Hi, if you are using postgresql you can use logger_collector. Try > this:http://www.postgresql.org/docs/8.3/static/runtime-config-logging.html. > > On 9 Mar, 05:

Logging raw sql

2011-03-09 Thread Dave Sluder
I need to log all insert/update/delete queries such that the database could be rebuilt from the log. I know I can do this at the database level, but I need to log selectively for certain models. The statements captured from db.connection.queries still contain parameters so they won't work. Does an