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
c4a9aa59a2
commit
0bc93fcba1
@ -344,7 +344,7 @@ openim::util::check_ports() {
|
|||||||
|
|
||||||
# Print information about ports whose processes are not running.
|
# Print information about ports whose processes are not running.
|
||||||
if [[ ${#not_started[@]} -ne 0 ]]; then
|
if [[ ${#not_started[@]} -ne 0 ]]; then
|
||||||
echo "\n### Not started ports:"
|
echo "### Not started ports:"
|
||||||
for port in "${not_started[@]}"; do
|
for port in "${not_started[@]}"; do
|
||||||
openim::log::error "Port $port is not started."
|
openim::log::error "Port $port is not started."
|
||||||
done
|
done
|
||||||
@ -352,7 +352,7 @@ openim::util::check_ports() {
|
|||||||
|
|
||||||
# Print information about ports whose processes are running.
|
# Print information about ports whose processes are running.
|
||||||
if [[ ${#started[@]} -ne 0 ]]; then
|
if [[ ${#started[@]} -ne 0 ]]; then
|
||||||
echo "\n### Started ports:"
|
echo "### Started ports:"
|
||||||
for info in "${started[@]}"; do
|
for info in "${started[@]}"; do
|
||||||
echo "$info"
|
echo "$info"
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user