mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-05 17:45:59 +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:
@@ -36,6 +36,12 @@ if [[ ! -d "${OPENIM_OUTPUT}/logs" ]]; then
|
||||
touch "$TMP_LOG_FILE"
|
||||
fi
|
||||
|
||||
if [[ ! -f "$DOCKER_LOG_FILE" ]]; then
|
||||
touch "$DOCKER_LOG_FILE"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# Define the logging function
|
||||
function echo_log() {
|
||||
if $ENABLE_LOGGING; then
|
||||
|
||||
Reference in New Issue
Block a user