diff --git a/apps/emqx_conf/i18n/emqx_conf_schema.conf b/apps/emqx_conf/i18n/emqx_conf_schema.conf index 4bb909b21..df7d24cc2 100644 --- a/apps/emqx_conf/i18n/emqx_conf_schema.conf +++ b/apps/emqx_conf/i18n/emqx_conf_schema.conf @@ -944,8 +944,8 @@ until the RPC connection is considered lost.""" zh: """需要持久化到文件的日志处理进程列表。默认只有 default 一个处理进程。""" } label { - en: "Log Handlers List" - zh: "日志 Handler 列表" + en: "File Handlers" + zh: "File Handlers" } } @@ -1136,7 +1136,9 @@ When drop mode is activated or deactivated, a message is printed in the logs.""" log_rotation_enable { desc { en: """Enable log rotation feature.""" - zh: """启用日志轮换功能。""" + zh: """启用日志轮换功能。启动后生成日志文件后缀会加上对应的索引数字,比如:log/emqx.log.1。 +系统会默认生成*.siz/*.idx用于记录日志位置,请不要手动修改这两个文件。 +""" } label { en: "Rotation Enable" @@ -1147,7 +1149,7 @@ When drop mode is activated or deactivated, a message is printed in the logs.""" log_rotation_count { desc { en: """Maximum number of log files.""" - zh: """最大日志文件数。""" + zh: """轮换的最大日志文件数。""" } label { en: "Max Log Files Number" diff --git a/apps/emqx_plugins/src/emqx_plugins.erl b/apps/emqx_plugins/src/emqx_plugins.erl index 9c7709196..8abc86d53 100644 --- a/apps/emqx_plugins/src/emqx_plugins.erl +++ b/apps/emqx_plugins/src/emqx_plugins.erl @@ -578,7 +578,8 @@ ensure_apps_stopped(#{<<"rel_apps">> := Apps}) -> {ok, Left} -> ?SLOG(warning, #{ msg => "unabled_to_stop_plugin_apps", - apps => Left + apps => Left, + reason => "running_apps_still_depends_on_this_apps" }), ok; {error, Reason} ->