From 027422b0141cbd06bb6027fb419c17b6a3b7df0e Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 29 Jan 2019 10:04:27 +0100 Subject: [PATCH] Cosmetic changes --- dev/n_osync.sh | 4 ++-- dev/ofunctions.sh | 14 +++----------- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/dev/n_osync.sh b/dev/n_osync.sh index 92cf053..0b6c896 100644 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -7,8 +7,8 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance AUTHOR="(C) 2013-2019 by Orsiris de Jong" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" PROGRAM_VERSION=1.3.0-pre-rc1 -PROGRAM_BUILD=2019011202 -IS_STABLE=no +PROGRAM_BUILD=2019012801 +IS_STABLE=false CONFIG_FILE_REVISION_REQUIRED=1.3.0 diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 902fcf9..888bdd9 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -31,7 +31,7 @@ #### OFUNCTIONS MINI SUBSET #### #### OFUNCTIONS MICRO SUBSET #### _OFUNCTIONS_VERSION=2.3.0-RC2 -_OFUNCTIONS_BUILD=2019012201 +_OFUNCTIONS_BUILD=2019012801 #### _OFUNCTIONS_BOOTSTRAP SUBSET #### _OFUNCTIONS_BOOTSTRAP=true #### _OFUNCTIONS_BOOTSTRAP SUBSET END #### @@ -284,10 +284,9 @@ function RemoteLogger { # CRITICAL, ERROR, WARN sent to stderr, color depending on level, level also logged # NOTICE sent to stdout -# VERBOSE sent to stdout if _LOGGER_VERBOSE = true -# ALWAYS is sent to stdout unless _LOGGER_SILENT = true +# VERBOSE sent to stdout if _LOGGER_VERBOSE=true +# ALWAYS is sent to stdout unless _LOGGER_SILENT=true # DEBUG & PARANOIA_DEBUG are only sent to stdout if _DEBUG=true -# SIMPLE is a wrapper for QuickLogger that does not use advanced functionality function Logger { local value="${1}" # Sentence to log (in double quotes) local level="${2}" # Log level @@ -346,13 +345,6 @@ function Logger { _Logger "$prefix$value" "$prefix\e[35m$value\e[0m" #__WITH_PARANOIA_DEBUG return #__WITH_PARANOIA_DEBUG fi #__WITH_PARANOIA_DEBUG - elif [ "$level" == "SIMPLE" ]; then - if [ "$_LOGGER_SILENT" == true ]; then - _Logger "$preix$value" - else - _Logger "$preix$value" "$prefix$value" - fi - return else _Logger "\e[41mLogger function called without proper loglevel [$level].\e[0m" "\e[41mLogger function called without proper loglevel [$level].\e[0m" true _Logger "Value was: $prefix$value" "Value was: $prefix$value" true