chore: refine a warning message about default erlang cookie

This commit is contained in:
Zaiming (Stone) Shi 2023-01-09 23:02:32 +01:00
parent 15035f7eb0
commit c6a78cbfda
1 changed files with 1 additions and 1 deletions

View File

@ -911,7 +911,7 @@ fi
if [ $IS_BOOT_COMMAND = 'yes' ] && [ "$COOKIE" = "$EMQX_DEFAULT_ERLANG_COOKIE" ]; then if [ $IS_BOOT_COMMAND = 'yes' ] && [ "$COOKIE" = "$EMQX_DEFAULT_ERLANG_COOKIE" ]; then
logwarn "Default (insecure) Erlang cookie is in use." logwarn "Default (insecure) Erlang cookie is in use."
logwarn "Configure node.cookie in $EMQX_ETC_DIR/emqx.conf or override from environment variable EMQX_NODE__COOKIE" logwarn "Configure node.cookie in $EMQX_ETC_DIR/emqx.conf or override from environment variable EMQX_NODE__COOKIE"
logwarn "Use the same config value for all nodes in the cluster." logwarn "NOTE: Use the same cookie for all nodes in the cluster."
fi fi
## check if OTP version has mnesia_hook feature; if not, fallback to ## check if OTP version has mnesia_hook feature; if not, fallback to