diff --git a/target/scripts/startup/check-stack.sh b/target/scripts/startup/check-stack.sh index bff7d425..aaab03d5 100644 --- a/target/scripts/startup/check-stack.sh +++ b/target/scripts/startup/check-stack.sh @@ -34,11 +34,10 @@ function _check_log_level return 0 else local DEFAULT_LOG_LEVEL='info' + _log 'warn' "Log level '${LOG_LEVEL}' is invalid (falling back to default '${DEFAULT_LOG_LEVEL}')" # shellcheck disable=SC2034 VARS[LOG_LEVEL]="${DEFAULT_LOG_LEVEL}" LOG_LEVEL="${DEFAULT_LOG_LEVEL}" - - _log 'warn' "Log level '${LOG_LEVEL}' is invalid (falling back to default '${DEFAULT_LOG_LEVEL}')" fi }