Bugzilla – Attachment 111169 Details for
Bug 15253
Add Koha::Logger based logging for SIP2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 15253: (Followup) Fully qualify calls to set_logger
Bug-15253-Followup-Fully-qualify-calls-to-setlogge.patch (text/plain), 1.26 KB, created by
Kyle M Hall
on 2020-10-02 16:36:20 UTC
(
hide
)
Description:
Bug 15253: (Followup) Fully qualify calls to set_logger
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2020-10-02 16:36:20 UTC
Size:
1.26 KB
patch
obsolete
>From 95fa103db9f4b003dfe5b3f3fe67f2ff7e172639 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 2 Oct 2020 12:35:14 -0400 >Subject: [PATCH] Bug 15253: (Followup) Fully qualify calls to set_logger > >This should not be necessary, but does fix the isse that Joonas is >seeing: > >Undefined subroutine &C4::SIP::SIPServer::set_logger called at /kohadevbox/koha/C4/SIP/SIPServer.pm >--- > C4/SIP/SIPServer.pm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/C4/SIP/SIPServer.pm b/C4/SIP/SIPServer.pm >index 7af355465d..564f6b3d49 100644 >--- a/C4/SIP/SIPServer.pm >+++ b/C4/SIP/SIPServer.pm >@@ -103,7 +103,7 @@ sub process_request { > Koha::Caches->flush_L1_caches(); > > $self->{account} = undef; # Clear out the account from the last request, it may be different >- $self->{logger} = set_logger( Koha::Logger->get( { interface => 'sip' } ) ); >+ $self->{logger} = C4::SIP::Logger::set_logger( Koha::Logger->get( { interface => 'sip' } ) ); > > my $sockname = getsockname(STDIN); > >@@ -170,7 +170,7 @@ sub raw_transport { > } > alarm 0; > >- $self->{logger} = set_logger( >+ $self->{logger} = C4::SIP::Logger::set_logger( > Koha::Logger->get( > { > interface => 'sip', >-- >2.24.1 (Apple Git-126)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15253
:
45824
|
45825
|
45826
|
58570
|
58571
|
58572
|
58573
|
58582
|
60872
|
65219
|
65220
|
65221
|
65222
|
65223
|
65224
|
65225
|
65226
|
65227
|
65228
|
71702
|
71703
|
74947
|
86573
|
86574
|
87993
|
88383
|
100062
|
100063
|
100379
|
102216
|
102217
|
102218
|
102219
|
103456
|
103457
|
103458
|
103459
|
103462
|
103499
|
103500
|
103501
|
103502
|
103503
|
103599
|
103915
|
103916
|
103917
|
103918
|
103919
|
103920
|
103921
|
104016
|
104667
|
104668
|
104669
|
104670
|
104671
|
104672
|
104673
|
104674
| 111169