Bugzilla – Attachment 60912 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 - Koha::Logger utf8 handling defeating "wide characters in print"
Bug-18227---KohaLogger-utf8-handling-defeating-wid.patch (text/plain), 2.45 KB, created by
Olli-Antti Kivilahti
on 2017-03-08 10:52:28 UTC
(
hide
)
Description:
Bug 18227 - Koha::Logger utf8 handling defeating "wide characters in print"
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2017-03-08 10:52:28 UTC
Size:
2.45 KB
patch
obsolete
>From efa716f93d3b05d4203b35406884be29019bbfc4 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 - Koha::Logger utf8 handling defeating "wide > characters in print" >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 :" >--- > debian/templates/log4perl-site.conf.in | 2 ++ > etc/log4perl.conf | 3 +++ > 2 files changed, 5 insertions(+) > >diff --git a/debian/templates/log4perl-site.conf.in b/debian/templates/log4perl-site.conf.in >index efc4707..4155a0a 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,3 +12,4 @@ 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 >diff --git a/etc/log4perl.conf b/etc/log4perl.conf >index ab1abf6..c5c7bf9 100644 >--- a/etc/log4perl.conf >+++ b/etc/log4perl.conf >@@ -7,6 +7,7 @@ log4perl.appender.INTRANET.syswrite=true > log4perl.appender.INTRANET.recreate=true > 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 >@@ -17,6 +18,7 @@ log4perl.appender.OPAC.syswrite=true > log4perl.appender.OPAC.recreate=true > log4perl.appender.OPAC.layout=PatternLayout > log4perl.appender.OPAC.layout.ConversionPattern=[%d] [%p] %m %l %n >+log4perl.appender.OPAC.utf8=1 > > log4perl.logger.sip = DEBUG, SIP > log4perl.appender.SIP=Log::Log4perl::Appender::File >@@ -27,3 +29,4 @@ log4perl.appender.SIP.syswrite=true > log4perl.appender.SIP.recreate=true > log4perl.appender.SIP.layout=PatternLayout > log4perl.appender.SIP.layout.ConversionPattern=[%d] [%p] %X{accountid}@%X{peeraddr}: %m %l %n >+log4perl.appender.SIP.utf8=1 >-- >2.7.4
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