Bugzilla – Attachment 109060 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: Add new lines during for debian postinst
Bug-16357-Add-new-lines-during-for-debian-postinst.patch (text/plain), 2.02 KB, created by
Jonathan Druart
on 2020-08-25 10:39:28 UTC
(
hide
)
Description:
Bug 16357: Add new lines during for debian postinst
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-08-25 10:39:28 UTC
Size:
2.02 KB
patch
obsolete
>From 7a889a02de24f8763adb988947d73e551de27cce Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 25 Aug 2020 12:38:25 +0200 >Subject: [PATCH] Bug 16357: Add new lines during for debian postinst > >--- > debian/koha-common.postinst | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > >diff --git a/debian/koha-common.postinst b/debian/koha-common.postinst >index fcdeaa9f73..9032a82090 100644 >--- a/debian/koha-common.postinst >+++ b/debian/koha-common.postinst >@@ -189,6 +189,39 @@ EOF > fi > done > >+for site in $(koha-list); do >+ log4perl_config="/etc/koha/sites/$site/log4perl.conf" >+ if ! log4perl_component $log4perl_config "sip"; then >+ cat <<EOF >> $log4perl_config >+log4perl.logger.plack-opac = WARN, PLACKOPAC >+log4perl.appender.PLACKOPAC=Log::Log4perl::Appender::File >+log4perl.appender.PLACKOPAC.filename=$site/plack-opac-error.log >+log4perl.appender.PLACKOPAC.mode=append >+log4perl.appender.PLACKOPAC.layout=PatternLayout >+log4perl.appender.PLACKOPAC.layout.ConversionPattern=[%d] [%p] %m >+log4perl.appender.PLACKOPAC.utf8=1 >+ >+log4perl.logger.plack-api = WARN, PLACKAPI >+log4perl.appender.PLACKAPI=Log::Log4perl::Appender::File >+log4perl.appender.PLACKAPI.filename=$site/plack-api-error.log >+log4perl.appender.PLACKAPI.mode=append >+log4perl.appender.PLACKAPI.layout=PatternLayout >+log4perl.appender.PLACKAPI.layout.ConversionPattern=[%d] [%p] %m >+log4perl.appender.PLACKAPI.utf8=1 >+ >+log4perl.logger.plack-intranet = WARN, PLACKINTRANET >+log4perl.appender.PLACKINTRANET=Log::Log4perl::Appender::File >+log4perl.appender.PLACKINTRANET.filename=$site/plack-intranet-error.log >+log4perl.appender.PLACKINTRANET.mode=append >+log4perl.appender.PLACKINTRANET.layout=PatternLayout >+log4perl.appender.PLACKINTRANET.layout.ConversionPattern=[%d] [%p] %m >+log4perl.appender.PLACKINTRANET.utf8=1 >+ >+EOF >+ fi >+done >+ >+ > for site in $(koha-list); do > kohaconfig="/etc/koha/sites/$site/koha-conf.xml" > logdir="$( xmlstarlet sel -t -v 'yazgfs/config/logdir' $kohaconfig )" >-- >2.20.1
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