https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15253
--- Comment #89 from Jonathan Druart <[email protected]> --- (In reply to Kyle M Hall from comment #87) > (In reply to Jonathan Druart from comment #77) > > % koha-sip --restart > > > > and I get: > > > > [2020/04/23 11:23:27] [ERROR] [undef]@[undef]: Argument "0.33_01" isn't > > numeric in numeric lt (<) at /usr/share/perl5/Net/Server/Log/Sys/Syslog.pm > > line 42. > > C4::SIP::Trapper::PRINT /kohadevbox/koha/C4/SIP/Trapper.pm (24) > > > > > > Why "ERROR" when it's a warning? > > The [undef]@[undef] seems wrong here. > > During normal SIP use, that will show the sip account used and the incoming > ip address. For unit tests and such they appear as undefs. I was missing that they were variables defined in SIPServer.pm: + # Flush previous MDCs to prevent accidentally leaking incorrect MDC-entries + Log::Log4perl::MDC->put( "accountid", undef ); + Log::Log4perl::MDC->put( "peeraddr", undef ); Is that correct to use directly Log::Log4perl here? Should not it be a Koha::Logger method instead? -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
