Explorar o código

Merge pull request #11288 from ieQu1/EMQX-10584

fix(emqx): Change incompatible DB backend message log to a warning
ieQu1 %!s(int64=2) %!d(string=hai) anos
pai
achega
07f62fd397
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bin/emqx

+ 1 - 1
bin/emqx

@@ -974,7 +974,7 @@ maybe_warn_default_cookie() {
 ## using Mnesia DB backend.
 if [[ "$IS_BOOT_COMMAND" == 'yes' && "$(get_boot_config 'node.db_backend')" == "rlog" ]]; then
     if ! (echo -e "$COMPATIBILITY_INFO" | $GREP -q 'MNESIA_OK'); then
-      logerr "DB Backend is RLOG, but an incompatible OTP version has been detected. Falling back to using Mnesia DB backend."
+      logwarn "DB Backend is RLOG, but an incompatible OTP version has been detected. Falling back to using Mnesia DB backend."
       export EMQX_NODE__DB_BACKEND=mnesia
       export EMQX_NODE__DB_ROLE=core
     fi