[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:35:47 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22678
--- Comment #7 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to David Cook from comment #5)
> 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...
Tested my example with Koha::Logger->context added and it works.
Will be testing a bit more.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list