[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
Wed Aug 26 01:37:27 CEST 2020


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

--- Comment #88 from David Cook <dcook at prosentient.com.au> ---
The safest thing to do is to add the "Plack::Middleware::LogWarn" dependency,
write up a wiki post about how to add timestamps and log separation, and link
to the wiki post in the plack.psgi file.

I don't see a clean way of fixing this for package Koha.

Plus, if you take into account people installing with other methods, there's no
way to guarantee that they've coordinated correctly their plack.psgi and
log4perl files correctly. The system is just too configurable to be safely
automatically changed.

That said, we probably could create some conditional logic in plack.psgi, so
that it only adds the new middleware if a Log4Perl logger with "plack" category
is available. 

I should be doing other things but perhaps I'll look at that now...

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


More information about the Koha-bugs mailing list