Bugzilla – Attachment 39888 Details for
Bug 14167
Add Koha::Logger based on Log4perl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14167 [QA Followup] - Add template and changes needed for packages
Bug-14167-QA-Followup---Add-template-and-changes-n.patch (text/plain), 2.65 KB, created by
Marcel de Rooy
on 2015-06-05 07:48:29 UTC
(
hide
)
Description:
Bug 14167 [QA Followup] - Add template and changes needed for packages
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2015-06-05 07:48:29 UTC
Size:
2.65 KB
patch
obsolete
>From 45ae034348e0069112759577e25f5c586c6ed21c Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 14 May 2015 07:04:19 -0400 >Subject: [PATCH] Bug 14167 [QA Followup] - Add template and changes needed > for packages >Content-Type: text/plain; charset=utf-8 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Amended: upgraded DEBUG level to WARN in config file. >--- > debian/scripts/koha-create | 4 ++++ > debian/templates/koha-conf-site.xml.in | 1 + > debian/templates/log4perl-site.conf.in | 13 +++++++++++++ > 3 files changed, 18 insertions(+) > create mode 100644 debian/templates/log4perl-site.conf.in > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 2ed4e28..375707c 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -586,6 +586,10 @@ eof > generate_config_file koha-conf-site.xml.in \ > "/etc/koha/sites/$name/koha-conf.xml" > >+ # Generate and install the log4perl config file. >+ generate_config_file log4perl-site.conf.in \ >+ "/etc/koha/sites/$name/log4perl.conf" >+ > # Generate and install Zebra config files. > generate_config_file zebra-biblios-site.cfg.in \ > "/etc/koha/sites/$name/zebra-biblios.cfg" >diff --git a/debian/templates/koha-conf-site.xml.in b/debian/templates/koha-conf-site.xml.in >index 7049cba..9820003 100644 >--- a/debian/templates/koha-conf-site.xml.in >+++ b/debian/templates/koha-conf-site.xml.in >@@ -282,6 +282,7 @@ __END_SRU_PUBLICSERVER__ > <zebra_lockdir>/var/lock/koha/__KOHASITE__</zebra_lockdir> > <use_zebra_facets>1</use_zebra_facets> > <queryparser_config>/etc/koha/searchengine/queryparser.yaml</queryparser_config> >+ <log4perl_conf>__KOHA_CONF_DIR__/log4perl.conf</log4perl_conf> > > <!-- true type font mapping accoding to type from $font_types in C4/Creators/Lib.pm --> > <ttf> >diff --git a/debian/templates/log4perl-site.conf.in b/debian/templates/log4perl-site.conf.in >new file mode 100644 >index 0000000..efc4707 >--- /dev/null >+++ b/debian/templates/log4perl-site.conf.in >@@ -0,0 +1,13 @@ >+log4perl.logger.intranet = WARN, INTRANET >+log4perl.appender.INTRANET=Log::Log4perl::Appender::File >+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.logger.opac = WARN, OPAC >+log4perl.appender.OPAC=Log::Log4perl::Appender::File >+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 >-- >1.7.10.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 14167
:
38953
|
38954
|
38980
|
38981
|
38993
|
39103
|
39180
|
39886
|
39887
|
39888
|
39889
|
39890
|
39891
|
39892
|
39893
|
39894
|
39895
|
40200
|
40652
|
40653
|
40657
|
40658
|
40659
|
40660
|
40661
|
40662
|
40663
|
40664
|
41109
|
41111
|
41145
|
41146