Merge pull request #7917 from zhongwencool/stop-plugins-error

docs: more clear about stop plugins error.
This commit is contained in:
zhongwencool 2022-05-12 09:41:17 +08:00 committed by GitHub
commit a78cb1c418
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View File

@ -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。
系统会默认生成<code>*.siz/*.idx<code>用于记录日志位置,请不要手动修改这两个文件。
"""
}
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"

View File

@ -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} ->