Bugzilla – Attachment 102223 Details for
Bug 18227
Koha::Logger utf8 handling defeating "wide characters in print"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18227: Handle utf8 in Koha::Logger
Bug-18227-Handle-utf8-in-KohaLogger.patch (text/plain), 2.95 KB, created by
Kyle M Hall (khall)
on 2020-04-01 12:53:55 UTC
(
hide
)
Description:
Bug 18227: Handle utf8 in Koha::Logger
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-04-01 12:53:55 UTC
Size:
2.95 KB
patch
obsolete
>From f87f600ab8c43a8fd42141875f0a7504ea1d2e64 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >Date: Wed, 8 Mar 2017 12:51:43 +0200 >Subject: [PATCH] Bug 18227: Handle utf8 in Koha::Logger >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >No more wide characters in print when logging to a file with Koha::Logger. > >Test with this string > >"â¯Turpo :" > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > debian/templates/log4perl-site.conf.in | 3 +++ > etc/log4perl.conf | 3 +++ > 2 files changed, 6 insertions(+) > >diff --git a/debian/templates/log4perl-site.conf.in b/debian/templates/log4perl-site.conf.in >index baa64097ad..dbf544466a 100644 >--- a/debian/templates/log4perl-site.conf.in >+++ b/debian/templates/log4perl-site.conf.in >@@ -4,6 +4,7 @@ log4perl.appender.INTRANET.filename=__LOG_DIR__/intranet-error.log > log4perl.appender.INTRANET.mode=append > log4perl.appender.INTRANET.layout=PatternLayout > log4perl.appender.INTRANET.layout.ConversionPattern=[%d] [%p] %m %l %n >+log4perl.appender.INTRANET.utf8=1 > > log4perl.logger.opac = WARN, OPAC > log4perl.appender.OPAC=Log::Log4perl::Appender::File >@@ -11,6 +12,7 @@ log4perl.appender.OPAC.filename=__LOG_DIR__/opac-error.log > log4perl.appender.OPAC.mode=append > log4perl.appender.OPAC.layout=PatternLayout > log4perl.appender.OPAC.layout.ConversionPattern=[%d] [%p] %m %l %n >+log4perl.appender.OPAC.utf8=1 > > log4perl.logger.z3950 = WARN, Z3950 > log4perl.appender.Z3950=Log::Log4perl::Appender::File >@@ -18,3 +20,4 @@ log4perl.appender.Z3950.filename=__LOG_DIR__/z3950-error.log > log4perl.appender.Z3950.mode=append > log4perl.appender.Z3950.layout=PatternLayout > log4perl.appender.Z3950.layout.ConversionPattern=[%d] [%p] %m %l %n >+log4perl.appender.Z3950.utf8=1 >diff --git a/etc/log4perl.conf b/etc/log4perl.conf >index baa64097ad..dbf544466a 100644 >--- a/etc/log4perl.conf >+++ b/etc/log4perl.conf >@@ -4,6 +4,7 @@ log4perl.appender.INTRANET.filename=__LOG_DIR__/intranet-error.log > log4perl.appender.INTRANET.mode=append > log4perl.appender.INTRANET.layout=PatternLayout > log4perl.appender.INTRANET.layout.ConversionPattern=[%d] [%p] %m %l %n >+log4perl.appender.INTRANET.utf8=1 > > log4perl.logger.opac = WARN, OPAC > log4perl.appender.OPAC=Log::Log4perl::Appender::File >@@ -11,6 +12,7 @@ log4perl.appender.OPAC.filename=__LOG_DIR__/opac-error.log > log4perl.appender.OPAC.mode=append > log4perl.appender.OPAC.layout=PatternLayout > log4perl.appender.OPAC.layout.ConversionPattern=[%d] [%p] %m %l %n >+log4perl.appender.OPAC.utf8=1 > > log4perl.logger.z3950 = WARN, Z3950 > log4perl.appender.Z3950=Log::Log4perl::Appender::File >@@ -18,3 +20,4 @@ log4perl.appender.Z3950.filename=__LOG_DIR__/z3950-error.log > log4perl.appender.Z3950.mode=append > log4perl.appender.Z3950.layout=PatternLayout > log4perl.appender.Z3950.layout.ConversionPattern=[%d] [%p] %m %l %n >+log4perl.appender.Z3950.utf8=1 >-- >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 18227
:
60912
|
102167
|
102168
| 102223 |
102224