]> git.koha-community.org Git - koha.git/commit
Bug 15714: Add get_loglevels to koha-functions.sh
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 1 Feb 2016 14:36:26 +0000 (15:36 +0100)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 24 Feb 2016 03:38:17 +0000 (03:38 +0000)
commitdbb24a676e8a8d96f20a9c1c66fdf5fd08ba1d4c
tree05adf9b228285cb2f82297d87bfbe9c1b2067b8e
parente51fe4a8f1a604453302b68cb2ff8bf1b0fb3fc7
Bug 15714: Add get_loglevels to koha-functions.sh

Preparing for including different log levels in koha-start-zebra.
Note that the default response is none,fatal,warn; this is equal
to the options passed to zebrasrv in koha-start-zebra (for now).

Test plan:
[1] Run on the command line: source koha-functions.sh
[2] Type get_loglevels [your_instance]
    By default, you should see: none,fatal,warn
[3] Add this line to your koha-conf:
    <zebra_loglevels>how,are,you</zebra_loglevels>
[4] Run get_loglevels [your_instance] again.
    Remove the nonsense log levels again..

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/scripts/koha-functions.sh