mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-04-28 06:19:20 +08:00
feat: fix openim logs and ci (#1817)
This commit is contained in:
@@ -129,7 +129,7 @@ openim::log::error_exit() {
|
||||
|
||||
# Log an error but keep going. Don't dump the stack or exit.
|
||||
openim::log::error() {
|
||||
timestamp=$(date +"[%m%d %H:%M:%S]")
|
||||
timestamp=$(date +"[%Y-%m-%d %H:%M:%S %Z]")
|
||||
echo_log "!!! ${timestamp} ${1-}" >&2
|
||||
shift
|
||||
for message; do
|
||||
@@ -192,7 +192,7 @@ openim::log::status() {
|
||||
return
|
||||
fi
|
||||
|
||||
timestamp=$(date +"[%m%d %H:%M:%S]")
|
||||
timestamp=$(date +"[%Y-%m-%d %H:%M:%S %Z]")
|
||||
echo_log "+++ ${timestamp} ${1}"
|
||||
shift
|
||||
for message; do
|
||||
|
||||
Reference in New Issue
Block a user