Skip to content

Commit 2e1268a

Browse files
authored
[chore](config)Clarify and Improve sys_log_roll_num Parameter Description (#48442)
1 parent 9c66121 commit 2e1268a

File tree

1 file changed

+5
-2
lines changed
  • fe/fe-common/src/main/java/org/apache/doris/common

1 file changed

+5
-2
lines changed

fe/fe-common/src/main/java/org/apache/doris/common/Config.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,11 @@ public class Config extends ConfigBase {
8181
options = {"NORMAL", "ASYNC", "BRIEF"})
8282
public static String sys_log_mode = "ASYNC";
8383

84-
@ConfField(description = {"FE 日志文件的最大数量。超过这个数量后,最老的日志文件会被删除",
85-
"The maximum number of FE log files. After exceeding this number, the oldest log file will be deleted"})
84+
@ConfField(description = {"FE 在 sys_log_roll_interval (日志滚动间隔)内允许保留的最大日志文件数。"
85+
+ "默认值为 10,意味着在每个日志滚动周期内,系统最多会保留 10 个日志文件。",
86+
"This parameter defines the maximum number of FE log files that can be retained within the "
87+
+ "sys_log_roll_interval (log roll interval). The default value is 10, which means the system"
88+
+ " will keep up to 10 log files during each log roll interval."})
8689
public static int sys_log_roll_num = 10;
8790

8891
@ConfField(description = {

0 commit comments

Comments
 (0)