[Koha-patches] [PATCH] Have zebrasrv log less

Michael Hafen mdhafen at tech.washk12.org
Wed Aug 13 20:43:52 CEST 2008


Better to fill the hard drive with biblio than with zebra logs ;)
---
 misc/bin/koha-zebra-ctl.sh |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/misc/bin/koha-zebra-ctl.sh b/misc/bin/koha-zebra-ctl.sh
index 5b248d1..01e4fad 100755
--- a/misc/bin/koha-zebra-ctl.sh
+++ b/misc/bin/koha-zebra-ctl.sh
@@ -12,6 +12,7 @@ RUNDIR=__ZEBRA_RUN_DIR__
 LOCKDIR=__ZEBRA_LOCK_DIR__
 # you may need to change this depending on where zebrasrv is installed
 ZEBRASRV=__PATH_TO_ZEBRA__/zebrasrv
+ZEBRAOPTIONS="-v none,fatal,warn"
 
 test -f $ZEBRASRV || exit 0
 
@@ -44,7 +45,7 @@ case "$1" in
         fi
       fi
 
-      daemon --name=$NAME --errlog=$ERRLOG --stdout=$STDOUT --output=$OUTPUT --verbose=1 --respawn --delay=30 $OTHERUSER -- $ZEBRASRV -f $KOHA_CONF 
+      daemon --name=$NAME --errlog=$ERRLOG --stdout=$STDOUT --output=$OUTPUT --verbose=1 --respawn --delay=30 $OTHERUSER -- $ZEBRASRV $ZEBRAOPTIONS -f $KOHA_CONF 
       ;;
     stop)
       echo "Stopping Zebra Server"
-- 
1.5.4.3




More information about the Koha-patches mailing list