Use log_info instead of log_debug for some debug messages

This commit is contained in:
Gerhard Hoffmann 2023-05-24 16:45:01 +02:00
parent 515c77bed4
commit 17521771e3

View File

@ -378,7 +378,7 @@ check_for_running_apism () {
if nc localhost 7778
then
APISM_RUNNING=1
log_debug "$func:${LINENO}: APISM running..."
log_info "$func:${LINENO}: APISM is running..."
return 0
fi
log_fatal "$func:${LINENO}: !!! APISM NOT RUNNING !!!"
@ -388,7 +388,7 @@ check_default_route () {
local func="${FUNCNAME[0]}"
if ip route | head -n 1 | grep -q '^default'
then
log_debug "$func:${LINENO}: default route set"
log_info "$func:${LINENO}: default route set"
return 0
fi
log_fatal "$func:${LINENO}: !!! NO DEFAULT ROUTE SET !!!"
@ -400,7 +400,7 @@ check_route_to_repository () {
# 185.191.219.134 via 192.168.5.254 ...
if test "$#" -eq 1 && ip route get "$1" | head -n 1 | grep -q "^$1"
then
log_debug "$func:${LINENO}: route to repository available"
log_info "$func:${LINENO}: route to repository available"
return 0
fi
log_fatal "$func:${LINENO}: !!! NO ROUTE TO REPO SET !!!"