[Koha-bugs] [Bug 25527] Package does not build because of missing log4perl.conf

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 18 14:32:07 CEST 2020


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

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 105013
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105013&action=edit
Bug 25527: Initialize the logger when required

In an OO package, the logger initialization should happen in the
constructor. This is not an OO package and the initialization is
happening on loading it. This is a wrong behaviour and certainly breaks
in environments where initialization cannot happen (package building,
for example). There could be several options to solve this, as it is
used in a single sub on this package, I opted for initializing on that
sub.

Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list