@@ -, +, @@ koha-functions.sh By default, you should see: none,fatal,warn how,are,you Remove the nonsense log levels again.. --- debian/scripts/koha-functions.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) --- a/debian/scripts/koha-functions.sh +++ a/debian/scripts/koha-functions.sh @@ -159,3 +159,15 @@ get_instances() find /etc/koha/sites -mindepth 1 -maxdepth 1\ -type d -printf '%f\n' | sort } + +get_loglevels() +{ + local instancename=$1 + local retval=$(xmlstarlet sel -t -v 'yazgfs/config/zebra_loglevels' /etc/koha/sites/$instancename/koha-conf.xml) + if [ "$retval" != "" ]; then + echo "$retval" + else + echo "none,fatal,warn" + fi + +} --