[Koha-bugs] [Bug 26854] stage-marc-import.pl does not properly fork

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Nov 18 00:14:43 CET 2020


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

--- Comment #18 from David Cook <dcook at prosentient.com.au> ---
(In reply to David Cook from comment #17)
> Actually... Bug 16357 was pushed on 2020-09-28... and we are overriding
> __WARN__ there to use Log4Perl, so maybe we don't need that log file after
> all (when using Plack)...

Alas, the LogWarn middleware doesn't work here.

It'll be due to some combination of the forking and STDERR being closed. Might
not be worth pursuing that one too deeply.

I suppose those a fairly simple fix would be to create a SIGWARN handler to use
Log4Perl in the forked stage-marc-import.pl. That would be a fairly light touch
and it would save a new log file and using that logdir config property...

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


More information about the Koha-bugs mailing list