[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
Wed Aug 26 01:24:52 CEST 2020


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

--- Comment #86 from David Cook <dcook at 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.


More information about the Koha-bugs mailing list