This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 4d3df9d620b branch-2.1: [chore](config)Clarify and Improve 
sys_log_roll_num Parameter Description #48442 (#48507)
4d3df9d620b is described below

commit 4d3df9d620bee78acceeef7b132020d6391f137e
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Mar 2 11:24:09 2025 +0800

    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 <guoqi...@selectdb.com>
---
 fe/fe-common/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 6dbfd11da34..e4d5c768aac 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 = {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to