[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 Sep 15 14:56:08 CEST 2020


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

Arthur Suzuki <arthur.suzuki at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #109067|0                           |1
        is obsolete|                            |
 Attachment #109068|0                           |1
        is obsolete|                            |
 Attachment #109215|0                           |1
        is obsolete|                            |

--- Comment #108 from Arthur Suzuki <arthur.suzuki at biblibre.com> ---
Created attachment 110107
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=110107&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.

Signed-off-by: Arthur Suzuki <arthur.suzuki at biblibre.com>

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


More information about the Koha-bugs mailing list