[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 15:56:58 CEST 2020


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

Victor Grousset/tuxayo <victor at tuxayo.net> changed:

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

--- Comment #6 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Created attachment 105018
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105018&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>
Signed-off-by: Victor Grousset/tuxayo <victor at tuxayo.net>

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


More information about the Koha-bugs mailing list