May 26, 2018
For DBI to selectively log SQL, parameters, result-sets, transactions
DBIxLog4perl is a wrapper over DBI which adds logging of your DBI activity via a LogLog4perl handle. LogLog4perl has many advantages for logging but the ones probably most attractive are
The ability to turn logging on or off or change the logging you see without changing your code.
Different log levels allowing you to separate warnings, errors and fatals to different files.