Bugzilla – Attachment 103919 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-29 11:00:39 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-29 11:00:39 UTC
Size:
709 bytes
patch
obsolete
>From 54578810cc50d84e98e74414247c27cdae251991 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 e134f246e4..8dce10ed0c 100644 >--- a/C4/SIP/Trapper.pm >+++ b/C4/SIP/Trapper.pm >@@ -15,7 +15,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