From 2a631fa23d854add7854fd1099ea497deb377845 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Fri, 22 May 2020 13:59:21 +0200 Subject: [PATCH] We don't need those color codes... and warnings are already warnings... --- data/helpers.d/logging | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/helpers.d/logging b/data/helpers.d/logging index d5f4f5eec..45b5b7e67 100644 --- a/data/helpers.d/logging +++ b/data/helpers.d/logging @@ -80,7 +80,7 @@ ynh_print_warn () { # Manage arguments with getopts ynh_handle_getopts_args "$@" - ynh_print_log "\e[93m\e[1m[WARN]\e[0m ${message}" >&2 + ynh_print_log "${message}" >&2 } # Print an error on stderr @@ -97,7 +97,7 @@ ynh_print_err () { # Manage arguments with getopts ynh_handle_getopts_args "$@" - ynh_print_log "\e[91m\e[1m[ERR]\e[0m ${message}" >&2 + ynh_print_log "[Error] ${message}" >&2 } # Execute a command and print the result as an error @@ -332,7 +332,7 @@ ynh_debug () { if [ -n "$message" ] then - ynh_print_log "\e[34m\e[1m[DEBUG]\e[0m ${message}" >&2 + ynh_print_log "[Debug] ${message}" >&2 fi if [ "$trace" == "1" ]