[Koha-bugs] [Bug 15253] Add Koha::Logger based logging for SIP2
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jul 27 17:06:06 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15253
--- Comment #27 from Colin Campbell <colin.campbell at ptfs-europe.com> ---
Theres a problem handling STDOUT/STDERR output I have two test servers both
work ok on master - with these patches applied one consistently crashes on
startup with the message:
Can't locate object method "OPEN" via package "C4::SIP::Trapper" at
/usr/share/perl5/vendor_perl/Net/Server.pm line 170.
Heres Net::Server.pm
if (length($prop->{'log_file'})
&& !$prop->{'log_function'}) {
open STDERR, '>&_SERVER_LOG' || die "Cannot open STDERR to _SERVER_LOG
[$!]";
} elsif ($prop->{'setsid'}) { # completely daemonize by closing STDERR
(should be done after fork)
open STDERR, '>&STDOUT' || die "Cannot open STDERR to STDOUT [$!]";
}
line 170 being the final open
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list