This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.1 by this push:
new 095dbf1ced5 branch-3.1: [chore](auditlog) Enable audit log plugin by
default #56077 (#56086)
095dbf1ced5 is described below
commit 095dbf1ced5532652d0032591ecf700140e8cf47
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Sep 25 16:54:03 2025 +0800
branch-3.1: [chore](auditlog) Enable audit log plugin by default #56077
(#56086)
Cherry-picked from #56077
Co-authored-by: Gavin Chou <[email protected]>
---
fe/fe-core/src/main/java/org/apache/doris/qe/GlobalVariable.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fe/fe-core/src/main/java/org/apache/doris/qe/GlobalVariable.java
b/fe/fe-core/src/main/java/org/apache/doris/qe/GlobalVariable.java
index 9523e0a822c..743448f49d8 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/qe/GlobalVariable.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/qe/GlobalVariable.java
@@ -83,7 +83,7 @@ public final class GlobalVariable {
public static int variableVersion = CURRENT_VARIABLE_VERSION;
@VariableMgr.VarAttr(name = VERSION_COMMENT, flag = VariableMgr.READ_ONLY)
- public static String versionComment = "Doris version "
+ public static String versionComment = Version.DORIS_BUILD_VERSION_PREFIX +
" version "
+ Version.DORIS_BUILD_VERSION + "-" +
Version.DORIS_BUILD_SHORT_HASH
+ (Config.isCloudMode() ? " (Cloud Mode)" : "");
@@ -141,7 +141,7 @@ public final class GlobalVariable {
public static String sqlConverterServiceUrl = "";
@VariableMgr.VarAttr(name = ENABLE_AUDIT_PLUGIN, flag = VariableMgr.GLOBAL)
- public static boolean enableAuditLoader = false;
+ public static boolean enableAuditLoader = true;
@VariableMgr.VarAttr(name = AUDIT_PLUGIN_MAX_BATCH_BYTES, flag =
VariableMgr.GLOBAL)
public static long auditPluginMaxBatchBytes = 50 * 1024 * 1024;
@@ -150,7 +150,7 @@ public final class GlobalVariable {
public static long auditPluginMaxBatchInternalSec = 60;
@VariableMgr.VarAttr(name = AUDIT_PLUGIN_MAX_SQL_LENGTH, flag =
VariableMgr.GLOBAL)
- public static int auditPluginMaxSqlLength = 4096;
+ public static int auditPluginMaxSqlLength = 2097152;
@VariableMgr.VarAttr(name = AUDIT_PLUGIN_MAX_INSERT_STMT_LENGTH, flag =
VariableMgr.GLOBAL,
description = {"专门用于限制 INSERT 语句的长度。如果该值大于
AUDIT_PLUGIN_MAX_SQL_LENGTH,"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]