From 3d53e907a39546e50892c2d7fac856a3294809d5 Mon Sep 17 00:00:00 2001 From: Aaron Ball Date: Fri, 23 Jun 2017 10:51:08 -0600 Subject: liblog:Fixed error level Was printing a function call trace. This wasn't very useful though when the log aliases were called, so this removes it. --- lib/log.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/log.sh b/lib/log.sh index 26bc5bb..ee89f38 100644 --- a/lib/log.sh +++ b/lib/log.sh @@ -52,7 +52,7 @@ function log { local label='' if [[ ${level} == 'error' ]]; then - label="${d} ERROR Function ${FUNCNAME[1]}: " + label="${d} ERROR " elif [[ ${level} == 'warn' ]]; then label="${d} WARN " elif [[ ${level} == 'debug' ]]; then -- cgit v1.2.3