Commit c9492153 by Eric Coissac

Move most of the logging to the debug level

parent 61c18fbc
......@@ -47,7 +47,7 @@ __LECABASH__trap_function__() {
local stackname="$(__LECABASH__signal_trap_stack_name__ ${signal})"
local code="$(__LECABASH__trap_signal_code__ $signal)"
loginfo "Signal ${signal} trapped"
logdebug "Signal ${signal} trapped"
echo "#@#@#@"
eval echo "\${${stackname}[*]}"
......@@ -58,7 +58,7 @@ __LECABASH__trap_function__() {
logdebug "Running ${signal} command : $cmd"
eval "$cmd"
done
loginfo "Commands registered on signal $signal run."
logdebug "Commands registered on signal $signal run."
fi
if [[ "$signal" != "EXIT" ]]; then
......@@ -131,7 +131,7 @@ function registertrap() {
trap "__LECABASH__trap_function__ $signal" "$signal"
fi
loginfo "Register new command on $signal : ${cmd}"
logdebug "Register new command on $signal : ${cmd}"
pushvalue "$stackname" "${cmd}"
}
......
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