Bugzilla – Attachment 103599 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: Log trapped errors as log level 'warn' instead of 'error'
Bug-15253-Log-trapped-errors-as-log-level-warn-ins.patch (text/plain), 709 bytes, created by
Kyle M Hall (khall)
on 2020-04-23 13:25:49 UTC
(
hide
)
Description:
Bug 15253: Log trapped errors as log level 'warn' instead of 'error'
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-04-23 13:25:49 UTC
Size:
709 bytes
patch
obsolete
>From a5832ba04742c0aae119b121941a9bd64b9c4f83 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 23 Apr 2020 09:25:33 -0400 >Subject: [PATCH] Bug 15253: Log trapped errors as log level 'warn' instead of > 'error' > >--- > C4/SIP/Trapper.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/SIP/Trapper.pm b/C4/SIP/Trapper.pm >index 76c8cfceaf..46a90acc17 100644 >--- a/C4/SIP/Trapper.pm >+++ b/C4/SIP/Trapper.pm >@@ -21,7 +21,7 @@ sub PRINT { > my $logger = > Koha::Logger->get( { interface => 'sip', category => 'STDERR' } ); > warn @_; >- $logger->error(@_); >+ $logger->warn(@_); > $Log::Log4perl::caller_depth--; > } > >-- >2.24.2 (Apple Git-127)
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