[Koha-bugs] [Bug 22678] Set 'Koha::Logger' as the default mojo logger for the REST API
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 29 14:18:56 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22678
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #139940|0 |1
is obsolete| |
--- Comment #15 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 139942
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139942&action=edit
Bug 22678: Replace a few unneeded Koha::Logger calls
We have Koha::Logger via the Mojo app now.
Test plan:
Run perl t/db_dependent/api/v1/unhandled_exceptions.t
Your plack-api-error.log should contain something like:
[2022/08/29 12:15:25] [ERROR] DELETE /api/v1/patrons/1052: unhandled
exception (Koha::Exception)<<Exception 'Koha::Exception' thrown 'delete died'>>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list