[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
Tue Aug 25 14:27:25 CEST 2020


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

Joonas Kylmälä <joonas.kylmala at helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #109060|0                           |1
        is obsolete|                            |

--- Comment #82 from Joonas Kylmälä <joonas.kylmala at helsinki.fi> ---
Created attachment 109067
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=109067&action=edit
Bug 16357: (QA follow-up) Only initialize Log4perl module

Koha::Logger->get was setting up some extra variables
which are not used nor needed for the Plack::Middleware::Log4perl
middleware to work. According to documentation at
https://metacpan.org/pod/Plack::Middleware::Log4perl#SYNOPSIS
only running Log::Log4perl::init, enabling Log4Perl middleware and
setting up the logging category is enough. Koha::Logger->_init runs the
Log::Log4perl::init and enabling and setting category is handled
directly in plack.psgi.

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


More information about the Koha-bugs mailing list