diff --git a/scripts/check-all.sh b/scripts/check-all.sh index ca43876d4..9e353bb93 100755 --- a/scripts/check-all.sh +++ b/scripts/check-all.sh @@ -97,7 +97,8 @@ done result=$(openim::util::check_process_names ${OPENIM_ALL_SERVICE_LIBRARIES_NO_TRANSFER[@]}) if [[ $? -ne 0 ]]; then echo "+++ cat openim log file >>> ${LOG_FILE}" - openim::log::error "check process failed.\n $result" + openim::log::error "check process failed.\n " + echo "$result" else openim::color::echo $COLOR_GREEN "All openim services are running normally! " fi diff --git a/scripts/lib/util.sh b/scripts/lib/util.sh index ac0f8d77c..6cf5a0343 100755 --- a/scripts/lib/util.sh +++ b/scripts/lib/util.sh @@ -432,7 +432,7 @@ openim::util::check_process_names() { if [[ ${#not_started[@]} -ne 0 ]]; then echo "Not started processes:" for process_name in "${not_started[@]}"; do - #openim::log::error "Process $process_name is not started." + openim::log::error "Process $process_name is not started." done fi