[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
Fri Aug 26 09:30:08 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22678
--- Comment #5 from David Cook <dcook at prosentient.com.au> ---
This is when I fess up that I was being cheeky and did my testing in a 22.11
koha-testing-docker (Mojolicious 8.12) and not a master koha-testing-docker
(Mojolicious 9.22).
According to
https://metacpan.org/dist/MojoX-Log-Log4perl/source/lib/MojoX/Log/Log4perl.pm#L31
Mojolicous 8.23 added a "context" method, which Mojolicious will die on if it's
missing from the logger.
That's the risk I mentioned in
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18205#c35
That's where that Koha::Logger::Mojo could come in handy to act as a shim...
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list