Bugzilla – Attachment 71871 Details for
Bug 16357
Plack error logs are not time stamped
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16357 - Plack error logs are not time stamped (follow up) enable UTF8
Bug-16357---Plack-error-logs-are-not-time-stamped-.patch (text/plain), 1.35 KB, created by
Mason James
on 2018-02-17 03:15:04 UTC
(
hide
)
Description:
Bug 16357 - Plack error logs are not time stamped (follow up) enable UTF8
Filename:
MIME Type:
Creator:
Mason James
Created:
2018-02-17 03:15:04 UTC
Size:
1.35 KB
patch
obsolete
>From 5e88101ae1d9edeef275d7c2f3958c4cac9ef0af Mon Sep 17 00:00:00 2001 >From: Mason James <mtj@kohaaloha.com> >Date: Sat, 17 Feb 2018 16:13:30 +1300 >Subject: [PATCH] Bug 16357 - Plack error logs are not time stamped (follow up) > enable UTF8 >Content-Type: text/plain; charset="utf-8" > >--- > debian/templates/plack.psgi | 2 +- > misc/plack/koha.psgi | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/debian/templates/plack.psgi b/debian/templates/plack.psgi >index ca0a0ec..90d4a26 100644 >--- a/debian/templates/plack.psgi >+++ b/debian/templates/plack.psgi >@@ -39,7 +39,7 @@ use Koha::DateUtils; > > #BZ 16357, add timestamps to warnings > use Log::Log4perl qw(:easy); >-Log::Log4perl->easy_init($WARN); >+Log::Log4perl->easy_init({ level => $WARN, utf8 => 1 }); > my $logger = Log::Log4perl->get_logger(); # use the default logger style > $SIG{__WARN__} = sub { > my $message = shift; >diff --git a/misc/plack/koha.psgi b/misc/plack/koha.psgi >index 5a6887f..8f87dfb 100644 >--- a/misc/plack/koha.psgi >+++ b/misc/plack/koha.psgi >@@ -7,7 +7,7 @@ use Plack::App::Directory; > > #BZ 16357, add timestamps to warnings > use Log::Log4perl qw(:easy); >-Log::Log4perl->easy_init($WARN); >+Log::Log4perl->easy_init({ level => $WARN, utf8 => 1 }); > my $logger = Log::Log4perl->get_logger(); # use the default logger style > $SIG{__WARN__} = sub { > my $message = shift; >-- >2.1.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 16357
:
71752
|
71753
|
71871
|
72290
|
72296
|
73404
|
77529
|
77530
|
77531
|
77532
|
77533
|
106141
|
106313
|
106319
|
106320
|
109053
|
109054
|
109055
|
109056
|
109060
|
109067
|
109068
|
109133
|
109215
|
110107
|
110108
|
110109
|
110249
|
110250
|
110251
|
110252
|
110253
|
110254