Perhaps http://search.cpan.org/~mjevans/DBIx-Log4perl-0.16/lib/DBIx/Log4perl.pm will do that for you when you elect to only log SQL.
In reply to Re: Extract SQL Statements
by mje
in thread Extract SQL Statements
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |