[Koha-bugs] [Bug 16357] Plack error logs are not time stamped

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 27 01:20:36 CEST 2020


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

--- Comment #106 from David Cook <dcook at prosentient.com.au> ---
(In reply to Joonas Kylmälä from comment #105)
> but I don't think we should depend on that using Log4perl in the future
> either. I have not found any literature what's the best practice here, but
> my common sense says that things are just too easy to break if a module
> author has to worry about some module using indirectly its imports.

I'm inclined to agree here, although one does need to be careful. It's always
possible that you explicitly import the module differently to how another
module imports it, and that could create problems (in terms of exported symbols
and what not). 

But in this case, I'm happy enough to "use Log::Log4perl" after Koha::Logger as
a sort of sanity check.

That said, if we did ever remove Log::Log4perl from Koha::Logger, Koha would
fail very fast in koha-testing-docker. So it's not the type of problem that
would sleep in Koha heh.

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


More information about the Koha-bugs mailing list