This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 635349a015 [fix](log4j) fix audit_log_roll_num not work for fe audit
log file (#23157)
635349a015 is described below
commit 635349a015b4ba4ae81a2fee1e24f5a973833f50
Author: caiconghui <[email protected]>
AuthorDate: Fri Aug 18 14:13:45 2023 +0800
[fix](log4j) fix audit_log_roll_num not work for fe audit log file (#23157)
Co-authored-by: caiconghui1 <[email protected]>
---
fe/fe-core/src/main/java/org/apache/doris/common/Log4jConfig.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/common/Log4jConfig.java
b/fe/fe-core/src/main/java/org/apache/doris/common/Log4jConfig.java
index f65d154a2c..019886ec64 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/common/Log4jConfig.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/common/Log4jConfig.java
@@ -85,7 +85,7 @@ public class Log4jConfig extends XmlConfiguration {
+ " <TimeBasedTriggeringPolicy/>\n"
+ " <SizeBasedTriggeringPolicy
size=\"${audit_roll_maxsize}MB\"/>\n"
+ " </Policies>\n"
- + " <DefaultRolloverStrategy max=\"${sys_roll_num}\"
fileIndex=\"min\">\n"
+ + " <DefaultRolloverStrategy max=\"${audit_roll_num}\"
fileIndex=\"min\">\n"
+ " <Delete basePath=\"${audit_log_dir}/\"
maxDepth=\"1\">\n"
+ " <IfFileName glob=\"fe.audit.log.*\" />\n"
+ " <IfLastModified age=\"${audit_log_delete_age}\" />\n"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]