| Summary: | Koha::Logger->sql(). Unified interface to log SQL statements OR use DBIx::Log4perl | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Olli-Antti Kivilahti <olli-antti.kivilahti> |
| Component: | Architecture, internals, and plumbing | Assignee: | Olli-Antti Kivilahti <olli-antti.kivilahti> |
| Status: | In Discussion --- | QA Contact: | Testopia <testopia> |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | srdjan |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: | Circulation function: | ||
| Bug Depends on: | 16313 | ||
| Bug Blocks: | |||
| Attachments: | Bug 16329 - Koha::Logger->sql(). Unified interface to log SQL statements | ||
|
Description
Olli-Antti Kivilahti
2016-04-24 13:20:02 UTC
Created attachment 50599 [details] [review] Bug 16329 - Koha::Logger->sql(). Unified interface to log SQL statements 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. Ok, let's discuss. I would at least suggest prefixing with "SQL:" or similar for parsing/grepping purposes Marking in Discussion because of Srdjan's last comment. Please note, there is a complex dependency tree here, some of the dependent patches are Failed QA atm. |