From 385ff399f23174591521567be2bf1d02294ca767 Mon Sep 17 00:00:00 2001 From: Mason James Date: Sat, 17 Feb 2018 16:13:30 +1300 Subject: [PATCH] Bug 16357 - Plack error logs are not time stamped (follow up) enable UTF8 --- debian/templates/plack.psgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/templates/plack.psgi b/debian/templates/plack.psgi index ca0a0ec522..90d4a266aa 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; -- 2.11.0