in reply to Dumper with DBI/DBD?
You may find DBIx::Log4perl useful. It can log just the SQL and and bound parameters at execute time.