[Koha-bugs] [Bug 18205] API interface to Koha::Logger

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 26 02:23:41 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18205

--- Comment #34 from David Cook <dcook at prosentient.com.au> ---
That said, Log::Log4perl doesn't have the exact same api as Mojo::Log. 

In the case of Mojolicious::Plugin::OpenAPI, it's not a drama, because it only
uses $c->app->log->$log_level(), which is supported by Log::Log4perl.

Bug 31378 is going to use Mojolicious::Plugin::OAuth2, but it just uses
$app->log->error() and $app->log->debug(). 

When running as a synchronous app, everything seems to work. I wonder what
might happen with an asynchronous app though. Not that we're anywhere near
that.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list