View | Details | Raw Unified | Return to bug 15714
Collapse All | Expand All

(-)a/debian/scripts/koha-functions.sh (-1 / +12 lines)
Lines 159-161 get_instances() Link Here
159
    find /etc/koha/sites -mindepth 1 -maxdepth 1\
159
    find /etc/koha/sites -mindepth 1 -maxdepth 1\
160
                         -type d -printf '%f\n' | sort
160
                         -type d -printf '%f\n' | sort
161
}
161
}
162
- 
162
163
get_loglevels()
164
{
165
    local instancename=$1
166
    local retval=$(xmlstarlet sel -t -v 'yazgfs/config/zebra_loglevels' /etc/koha/sites/$instancename/koha-conf.xml)
167
    if [ "$retval" != "" ]; then
168
        echo "$retval"
169
    else
170
        echo "none,fatal,warn"
171
    fi
172
173
}

Return to bug 15714