[Koha-bugs] [Bug 18205] API interface to Koha::Logger
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 12 19:20:18 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18205
--- Comment #27 from Lari Taskula <lari.taskula at hypernova.fi> ---
(In reply to Martin Renvoize from comment #26)
> Lari, can you state exactly what it is about MojoX::Log::Log4Perl that you
> wish to use within the Mojo layer of Koha?
Hi. Thanks for taking a look! The reason for adding this module was to enable
Mojo::Log logging with our log4perl configurations so that our log4perl-logging
works for other Mojolicious plugins such as Mojolicious::Plugin::OpenAPI. I
don't think the standard Koha::Logger was able to handle this alone with the
way you proposed:
> $app->log(Koha::Logger->get)
If you can provide a simple alternative solution to Koha::Logger to achieve
this functionality, I'm okay with not including this dependency. Unfortunately
I personally cannot invest more work into this feature as I don't work as a
Koha developer as of now.
Your proposed way is of course better and hopefully you can make it work :)
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list