26 Aug
2020
26 Aug
'20
1:24 a.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16357 --- Comment #86 from David Cook <dcook@prosentient.com.au> --- (In reply to Joonas Kylmälä from comment #85)
To fail more verbosely during plack startup there would need to be a way in Log4perl to check whether a logger category (e.g. "plack-opac") exists in the log4perl.conf file. I couldn't find any such function in the Log::Log4Perl module. We could also implement our own parser for the log4perl.conf file but that doesn't sound ideal. Help needed.
Based on the documentation from https://metacpan.org/pod/Log::Log4perl, I'd say "get_logger($category)" would probably do the trick. -- You are receiving this mail because: You are watching all bug changes.