replace openim::log::info

This commit is contained in:
skiffer-git 2024-02-22 18:29:07 +08:00
parent 97191a1c72
commit d24e8ba416
2 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,6 @@ function openim::rpc::start() {
for ((i = 0; i < ${#OPENIM_RPC_SERVICE_LISTARIES[*]}; i++)); do for ((i = 0; i < ${#OPENIM_RPC_SERVICE_LISTARIES[*]}; i++)); do
openim::log::info "OpenIM ${OPENIM_RPC_SERVICE_LISTARIES[$i]} config path: ${OPENIM_RPC_CONFIG}" openim::log::info "OpenIM ${OPENIM_RPC_SERVICE_LISTARIES[$i]} config path: ${OPENIM_RPC_CONFIG}"
# Get the service and Prometheus ports. # Get the service and Prometheus ports.
OPENIM_RPC_SERVICE_PORTS=( $(openim::util::list-to-string ${OPENIM_RPC_PORT_LISTARIES[$i]}) ) OPENIM_RPC_SERVICE_PORTS=( $(openim::util::list-to-string ${OPENIM_RPC_PORT_LISTARIES[$i]}) )
read -a OPENIM_RPC_SERVICE_PORTS_ARRAY <<< ${OPENIM_RPC_SERVICE_PORTS} read -a OPENIM_RPC_SERVICE_PORTS_ARRAY <<< ${OPENIM_RPC_SERVICE_PORTS}

View File

@ -81,6 +81,7 @@ openim::log::install_errexit() {
# setting errtrace allows our ERR trap handler to be propagated to functions, # setting errtrace allows our ERR trap handler to be propagated to functions,
# expansions and subshells # expansions and subshells
#set -o errtrace #set -o errtrace
return 0
} }
# Print out the stack trace # Print out the stack trace