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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 9 13:46:42 CEST 2019


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

--- Comment #25 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I'm totally confused.. the title for this bug is misleading.. we're not adding
an API interface to Koha::Logger here at all... (I read that as being able to
access the logs via the api).. rather we're setting up a logger within the Mojo
app allowing us to Log.

With that confusion laid to rest..  this patchset seems to try and do too many
things in my opinion.. and I'm not sure what it wins us.

Why use MojoX::Log::Log4Perl at all?
Why introduce an entirely new Logger subclass?

Why not simply do $app->log(Koha::Logger->get) and use the config and setup
afforded to us by the existing work within Koha::Logger..

Am I missing something here?

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


More information about the Koha-bugs mailing list