Commit 35e2fc46 by Eric Coissac

Cleaning too verbose debug logs

parent 93f47528
...@@ -44,20 +44,15 @@ function XML_push() { ...@@ -44,20 +44,15 @@ function XML_push() {
shift shift
local attribs=( $(echo "$*") ) local attribs=( $(echo "$*") )
logdebug "before XML_pad"
__LECABASH__XML_pad__ $(stacksize __LECABASH__markup__) __LECABASH__XML_pad__ $(stacksize __LECABASH__markup__)
logdebug "after XML_pad"
echo -n "<${tag}" echo -n "<${tag}"
logdebug "after opening tag"
local n=${#attribs[@]} local n=${#attribs[@]}
logdebug "after counting attribs"
n=$((n/2)) n=$((n/2))
logdebug "$n attributes specified" logdebug "XML_push ${tag} : $n attributes specified"
if (( n > 0 )) ; then if (( n > 0 )) ; then
logdebug "Some attributes must be written"
for (( i=0; i<n; i+=1 )) ; do for (( i=0; i<n; i+=1 )) ; do
k=$((i*2)) k=$((i*2))
l=$((k+1)) l=$((k+1))
...@@ -65,8 +60,6 @@ function XML_push() { ...@@ -65,8 +60,6 @@ function XML_push() {
shift shift
shift shift
done done
else
logdebug "No attributes specified"
fi fi
echo ">" echo ">"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment