diff --git a/vars/logger.groovy b/vars/logger.groovy index 3033891..5c4c676 100644 --- a/vars/logger.groovy +++ b/vars/logger.groovy @@ -58,7 +58,7 @@ private void logger(level, message) { def LOG_LEVELS = ['ERROR', 'WARNING', 'INFO', 'SUCCESS', 'DEBUG'] // Global log level - def LOG_LEVEL = "${LOG_LEVEL}" + def LOG_LEVEL = 'DEBUG' // Global log colorization enabled flag def colored_xterm = false @@ -68,8 +68,6 @@ private void logger(level, message) { } } catch(Throwable ex) { } - println "LOG_LEVEL is '${LOG_LEVEL}'" - if (LOG_LEVELS.indexOf(level) <= LOG_LEVELS.indexOf(LOG_LEVEL)) { def color = COLORS[level] def resetColor = "\u001B[0m"