From 4d3df9d620bee78acceeef7b132020d6391f137e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sun, 2 Mar 2025 11:24:09 +0800 Subject: [PATCH] branch-2.1: [chore](config)Clarify and Improve sys_log_roll_num Parameter Description #48442 (#48507) Cherry-picked from #48442 Co-authored-by: Calvin Kirs --- .../src/main/java/org/apache/doris/common/Config.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java index 6dbfd11da3..e4d5c768aa 100644 --- a/fe/fe-common/src/main/java/org/apache/doris/common/Config.java +++ b/fe/fe-common/src/main/java/org/apache/doris/common/Config.java @@ -79,8 +79,11 @@ public class Config extends ConfigBase { options = {"NORMAL", "ASYNC", "BRIEF"}) public static String sys_log_mode = "NORMAL"; - @ConfField(description = {"FE 日志文件的最大数量。超过这个数量后,最老的日志文件会被删除", - "The maximum number of FE log files. After exceeding this number, the oldest log file will be deleted"}) + @ConfField(description = {"FE 在 sys_log_roll_interval (日志滚动间隔)内允许保留的最大日志文件数。" + + "默认值为 10,意味着在每个日志滚动周期内,系统最多会保留 10 个日志文件。", + "This parameter defines the maximum number of FE log files that can be retained within the " + + "sys_log_roll_interval (log roll interval). The default value is 10, which means the system" + + " will keep up to 10 log files during each log roll interval."}) public static int sys_log_roll_num = 10; @ConfField(description = {