mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-08 19:16:35 +08:00
Optimizing Docker Log Output Detection (#2014)
* Optimize script logs * Optimizing Docker Log Output Detection * Optimizing Docker Log Output Detection
This commit is contained in:
@@ -26,6 +26,11 @@
|
||||
OPENIM_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
|
||||
source "${OPENIM_ROOT}/scripts/install/common.sh"
|
||||
|
||||
if grep -q docker /proc/1/cgroup; then
|
||||
exec > ${DOCKER_LOG_FILE} 2>&1
|
||||
fi
|
||||
|
||||
|
||||
OPENIM_VERBOSE=4
|
||||
|
||||
openim::log::info "\n# Begin to check all openim service"
|
||||
|
||||
Reference in New Issue
Block a user