Changes for version 0.10
- The disconnect code was not checking that our private handle in the dbh was valid before using it to log a disconnect message. It was also not checking the logger handle was valid.
- In execute_array protect against concatenating a possible undef in the log message.
- Changed BEGIN in DBIx::Log4perl to set Log::Log4perl::caller_depth to 2 so that when Log4perl logs where the message was output it ignores the lowest 2 levels of the stack which are probably DBIx::Log4perl - thanks to Michael Scoltock for pointing that out. If you really want the original behavior do a $Log::Log4perl::caller_depth = 0 after connecting.
- If DBIX_L4P_LOG_DBDSPECIFIC was enabled the execute method could make a lot of calls to DBD::Oracle's dbms_output_get method even though logging was not enabled.
- Minor change to _dbix_l4p_debug to speed it up when logging is not enabled.
- In DBIx::Log4perl::st::execute speed it up when debug logging is disabled, DBIX_L4P_LOG_DBDSPECIFIC is enabled and we are using DBD::Oracle.
- Do not output any log for Oracle dbms_output before checking we got some.
Modules
Perl extension for DBI to selectively log SQL, parameters, result-sets, transactions etc to a Log::Log4perl handle.
Provides
in lib/DBIx/Log4perl/Constants.pm
in lib/DBIx/Log4perl/db.pm
in lib/DBIx/Log4perl/st.pm