Commit c9492153 authored by Eric Coissac's avatar 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"
loginfo "Commands registered on signal $signal run."
logdebug "Commands registered on signal $signal run."
if [[ "$signal" != "EXIT" ]]; then
......@@ -131,7 +131,7 @@ function registertrap() {
trap "__LECABASH__trap_function__ $signal" "$signal"
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