Bugzilla – Attachment 146315 Details for
Bug 32612
Koha background worker should log to worker-error/output.log
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32612: (QA follow-up) Add BINMODE method to C4::SIP::Trapper
Bug-32612-QA-follow-up-Add-BINMODE-method-to-C4SIP.patch (text/plain), 966 bytes, created by
Kyle M Hall (khall)
on 2023-02-07 12:05:04 UTC
(
hide
)
Description:
Bug 32612: (QA follow-up) Add BINMODE method to C4::SIP::Trapper
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2023-02-07 12:05:04 UTC
Size:
966 bytes
patch
obsolete
>From 170a8cfb679a116b9b6070c8923fa32bcceb4a52 Mon Sep 17 00:00:00 2001 >From: Kyle Hall <kyle@bywatersolutions.com> >Date: Tue, 7 Feb 2023 06:49:28 -0500 >Subject: [PATCH] Bug 32612: (QA follow-up) Add BINMODE method to > C4::SIP::Trapper > >The module Log::Log4perl::Appender::Screen is attempting to change >binmode during unit tests for SIPServer and is failing because of >our tie in SIPServer.pm for reasons unknown. > >This patch implements the perltie method TIEHANDLE which allows the >binmode to be handled in the C4::SIP::Trapper package. >--- > C4/SIP/Trapper.pm | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/C4/SIP/Trapper.pm b/C4/SIP/Trapper.pm >index 8f115b59b7..6feaf3ec56 100644 >--- a/C4/SIP/Trapper.pm >+++ b/C4/SIP/Trapper.pm >@@ -35,4 +35,10 @@ sub PRINT { > $Log::Log4perl::caller_depth--; > } > >+# Supress errors from Log::Log4perl::Appender::Screen >+sub BINMODE { >+ my ( $self, $mode ) = @_; >+ binmode( STDOUT, $mode ); >+}; >+ > 1; >-- >2.30.2
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 32612
:
145218
|
145960
|
145972
|
145973
|
145974
|
145995
|
146025
|
146026
|
146027
|
146061
|
146062
|
146063
|
146064
|
146065
|
146066
| 146315 |
146353