https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16329
Bug ID: 16329
Summary: Koha::Logger->sql(). Unified interface to log SQL
statements OR use DBIx::Log4perl
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Instead of whenever needing to log SQL statements, making a custom logging
output/function, introduce a centralized subroutine to handle all sql-statement
logging.
How the SQL-statements should be logged remains to be seen, but currently
simply presenting very simple formatting we can discuss about.
SQL libraries (DBI, DBIx) also allow logging SQL-statements but lack the
fine-grained control Log4perl offers.
Or maybe Log4perl can be integrated better to DBI / DBIx with this:
https://metacpan.org/pod/DBIx::Log4perl
Because I am not a huge fan of DBIx and also integrating that to Koha::Object
is a lot of work, will not pursue that track further.
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/