Bug 16357: Only use Log4perl middleware if appenders defined
commit68ec27562fbb89c68058505b35c14aab7accc7fb
authorDavid Cook <dcook@prosentient.com.au>
Wed, 26 Aug 2020 00:58:36 +0000 (26 00:58 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 28 Sep 2020 14:09:10 +0000 (28 16:09 +0200)
tree5fb3a58cc39c08ed3dee95e0bb474cb313815b09
parent5651facf0574f028250aeb8f30d6d8e2a5ebaabe
Bug 16357: Only use Log4perl middleware if appenders defined

This patch checks that the loggers used by the middleware
actually have appenders defined.

Without this patch, if the loggers don't have appenders
defined in the log4perl file, the logs will just be lost.

Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
debian/templates/plack.psgi