[Koha-bugs] [Bug 14906] Koha::Logger does not correctly handle instantiation errors

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 16 13:21:19 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14906

--- Comment #7 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #6)
> Forget last comment.
> 
> Marcel, what do you suggest?

If one of those two logfiles (opac, intranet) is not writable, log4perl will
crash nicely. The goal was to prevent such a crash.
So I would suggest to add the warnings about the unwritable logfile and still
return undef. So do not call log4perl and no additional log message. Note that
this situation should be quite unusual. Probably both files are writable or
both are not.

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


More information about the Koha-bugs mailing list