Use log_info instead of log_debug for some debug messages
This commit is contained in:
parent
515c77bed4
commit
17521771e3
@ -378,7 +378,7 @@ check_for_running_apism () {
|
|||||||
if nc localhost 7778
|
if nc localhost 7778
|
||||||
then
|
then
|
||||||
APISM_RUNNING=1
|
APISM_RUNNING=1
|
||||||
log_debug "$func:${LINENO}: APISM running..."
|
log_info "$func:${LINENO}: APISM is running..."
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
log_fatal "$func:${LINENO}: !!! APISM NOT RUNNING !!!"
|
log_fatal "$func:${LINENO}: !!! APISM NOT RUNNING !!!"
|
||||||
@ -388,7 +388,7 @@ check_default_route () {
|
|||||||
local func="${FUNCNAME[0]}"
|
local func="${FUNCNAME[0]}"
|
||||||
if ip route | head -n 1 | grep -q '^default'
|
if ip route | head -n 1 | grep -q '^default'
|
||||||
then
|
then
|
||||||
log_debug "$func:${LINENO}: default route set"
|
log_info "$func:${LINENO}: default route set"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
log_fatal "$func:${LINENO}: !!! NO DEFAULT ROUTE SET !!!"
|
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 ...
|
# 185.191.219.134 via 192.168.5.254 ...
|
||||||
if test "$#" -eq 1 && ip route get "$1" | head -n 1 | grep -q "^$1"
|
if test "$#" -eq 1 && ip route get "$1" | head -n 1 | grep -q "^$1"
|
||||||
then
|
then
|
||||||
log_debug "$func:${LINENO}: route to repository available"
|
log_info "$func:${LINENO}: route to repository available"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
log_fatal "$func:${LINENO}: !!! NO ROUTE TO REPO SET !!!"
|
log_fatal "$func:${LINENO}: !!! NO ROUTE TO REPO SET !!!"
|
||||||
|
Loading…
Reference in New Issue
Block a user