Bugzilla – Attachment 102167 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.88 KB, created by
Tomás Cohen Arazi (tcohen)
on 2020-04-01 03:19:59 UTC
(
hide
)
Description:
Bug 18227: Handle utf8 in Koha::Logger
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2020-04-01 03:19:59 UTC
Size:
2.88 KB
patch
obsolete
>From 9a2db3ee6216201eccfa819e199fba734bf201f6 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> >--- > 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.26.0
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