Bug 15714: Add zebra_loglevels to koha-conf.xml
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 3 Feb 2016 14:59:02 +0000 (15:59 +0100)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 24 Feb 2016 03:38:18 +0000 (03:38 +0000)
This patch adds a commented zebra_loglevels line to the config file.
Behavior does not change, but an admin can easily edit the variable.

Test plan:
Nothing really changed. But if you are not so sure about that, apply the
change to /etc/koha/koha-conf-site.xml.in and run koha-create. Check
that the new koha-conf contains the line and is not messed up.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
debian/templates/koha-conf-site.xml.in

index 904a7e4..51a9d86 100644 (file)
@@ -284,6 +284,11 @@ __END_SRU_PUBLICSERVER__
  <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>
+ <!-- Uncomment/edit next setting if you want to adjust zebra log levels.
+      Default is: none,fatal,warn.
+      You can also include: debug,log,malloc,all,request.
+      Use a comma-separated list of levels to include. -->
+ <!-- <zebra_loglevels>none,fatal,warn</zebra_loglevels> -->
 
 <!-- true type font mapping accoding to type from $font_types in C4/Creators/Lib.pm -->
  <ttf>