[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 02:32:44 CEST 2020


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

--- Comment #97 from David Cook <dcook at prosentient.com.au> ---
If a category doesn't exist in the Log4perl config, Log4perl will just create a
new logger that inherits from the root logger.

We don't define a root logger, and the root logger by default has no appenders.

If we'd just defined a root logger that output to STDERR, missing logs wouldn't
be an issue.

But we can't rely on someone setting up a root logger in their configuration,
as we've given too many options.

I suppose we could define an emergency root logger within Koha::Logger...

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


More information about the Koha-bugs mailing list