mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
log
This commit is contained in:
parent
c0dddb4d01
commit
14a0b8e272
@ -97,7 +97,8 @@ done
|
|||||||
result=$(openim::util::check_process_names ${OPENIM_ALL_SERVICE_LIBRARIES_NO_TRANSFER[@]})
|
result=$(openim::util::check_process_names ${OPENIM_ALL_SERVICE_LIBRARIES_NO_TRANSFER[@]})
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
echo "+++ cat openim log file >>> ${LOG_FILE}"
|
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
|
else
|
||||||
openim::color::echo $COLOR_GREEN "All openim services are running normally! "
|
openim::color::echo $COLOR_GREEN "All openim services are running normally! "
|
||||||
fi
|
fi
|
||||||
|
|||||||
@ -432,7 +432,7 @@ openim::util::check_process_names() {
|
|||||||
if [[ ${#not_started[@]} -ne 0 ]]; then
|
if [[ ${#not_started[@]} -ne 0 ]]; then
|
||||||
echo "Not started processes:"
|
echo "Not started processes:"
|
||||||
for process_name in "${not_started[@]}"; do
|
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
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user