[Koha-bugs] [Bug 32612] Koha background worker should log to worker-error/output.log

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 7 13:09:44 CET 2023


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

--- Comment #37 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Jonathan Druart from comment #35)
> prove t/db_dependent/SIP/SIPServer.t 
> t/db_dependent/SIP/SIPServer.t .. Can't locate object method "BINMODE" via
> package "C4::SIP::Trapper" at
> /usr/share/perl5/Log/Log4perl/Appender/Screen.pm line 22.
> Compilation failed in require at t/db_dependent/SIP/SIPServer.t line 40.
> BEGIN failed--compilation aborted at t/db_dependent/SIP/SIPServer.t line 40.
> # Looks like your test exited with 255 before it could output anything.
> t/db_dependent/SIP/SIPServer.t .. Dubious, test returned 255 (wstat 65280,
> 0xff00)
> Failed 1/1 subtests

Whats the relation with worker?

log4perl.logger.sip = DEBUG, SIP
log4perl.appender.SIP=Log::Log4perl::Appender::File
log4perl.appender.SIP.filename=/var/log/koha/myclone/sip.log
log4perl.appender.SIP.mode=append
log4perl.appender.SIP.layout=PatternLayout
log4perl.appender.SIP.layout.ConversionPattern=[%d] [%P] [%p]
%X{accountid}@%X{peeraddr}: %m %l%n
log4perl.appender.SIP.utf8=1

Please check the configuration for sip ?
Note that the SIP configuration always goes to Appender::File too.

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


More information about the Koha-bugs mailing list