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

commit 904182685b4479309e023448bd076123147cc7ff
Author: Kaijie Chen <c...@apache.org>
AuthorDate: Fri Jan 26 19:16:31 2024 +0800

    [debug](move-memtable) enable brpc debug log in regression pipelines 
(#30389)
---
 be/src/common/logging.h                        | 40 +++++++++++++-------------
 regression-test/pipeline/external/conf/be.conf |  3 ++
 regression-test/pipeline/p0/conf/be.conf       |  3 ++
 regression-test/pipeline/p1/conf/be.conf       |  5 +++-
 4 files changed, 30 insertions(+), 21 deletions(-)

diff --git a/be/src/common/logging.h b/be/src/common/logging.h
index 672edb84e6a..16d340b49c0 100644
--- a/be/src/common/logging.h
+++ b/be/src/common/logging.h
@@ -31,26 +31,26 @@
 
 // Define VLOG levels.  We want display per-row info less than per-file which
 // is less than per-query.  For now per-connection is the same as per-query.
-#define VLOG_CONNECTION VLOG(1)
-#define VLOG_RPC VLOG(8)
-#define VLOG_QUERY VLOG(1)
-#define VLOG_FILE VLOG(2)
-#define VLOG_ROW VLOG(10)
-#define VLOG_PROGRESS VLOG(2)
-#define VLOG_TRACE VLOG(10)
-#define VLOG_DEBUG VLOG(7)
-#define VLOG_NOTICE VLOG(3)
-#define VLOG_CRITICAL VLOG(1)
-
-#define VLOG_CONNECTION_IS_ON VLOG_IS_ON(1)
-#define VLOG_RPC_IS_ON VLOG_IS_ON(8)
-#define VLOG_QUERY_IS_ON VLOG_IS_ON(1)
-#define VLOG_FILE_IS_ON VLOG_IS_ON(2)
-#define VLOG_ROW_IS_ON VLOG_IS_ON(10)
-#define VLOG_TRACE_IS_ON VLOG_IS_ON(10)
-#define VLOG_DEBUG_IS_ON VLOG_IS_ON(7)
-#define VLOG_NOTICE_IS_ON VLOG_IS_ON(3)
-#define VLOG_CRITICAL_IS_ON VLOG_IS_ON(1)
+#define VLOG_CONNECTION VLOG(101)
+#define VLOG_RPC VLOG(108)
+#define VLOG_QUERY VLOG(101)
+#define VLOG_FILE VLOG(102)
+#define VLOG_ROW VLOG(110)
+#define VLOG_PROGRESS VLOG(102)
+#define VLOG_TRACE VLOG(110)
+#define VLOG_DEBUG VLOG(107)
+#define VLOG_NOTICE VLOG(103)
+#define VLOG_CRITICAL VLOG(101)
+
+#define VLOG_CONNECTION_IS_ON VLOG_IS_ON(101)
+#define VLOG_RPC_IS_ON VLOG_IS_ON(108)
+#define VLOG_QUERY_IS_ON VLOG_IS_ON(101)
+#define VLOG_FILE_IS_ON VLOG_IS_ON(102)
+#define VLOG_ROW_IS_ON VLOG_IS_ON(110)
+#define VLOG_TRACE_IS_ON VLOG_IS_ON(110)
+#define VLOG_DEBUG_IS_ON VLOG_IS_ON(107)
+#define VLOG_NOTICE_IS_ON VLOG_IS_ON(103)
+#define VLOG_CRITICAL_IS_ON VLOG_IS_ON(101)
 
 /// Define a wrapper around DCHECK for strongly typed enums that print a 
useful error
 /// message on failure.
diff --git a/regression-test/pipeline/external/conf/be.conf 
b/regression-test/pipeline/external/conf/be.conf
index 9a5b3641b84..abe468554f2 100644
--- a/regression-test/pipeline/external/conf/be.conf
+++ b/regression-test/pipeline/external/conf/be.conf
@@ -70,3 +70,6 @@ fragment_pool_thread_num_max=5000
 enable_fuzzy_mode=true
 enable_set_in_bitmap_value=true
 enable_feature_binlog=true
+sys_log_verbose_modules = src/brpc
+sys_log_verbose_level = 100
+sys_log_verbose_flags_v = 100
diff --git a/regression-test/pipeline/p0/conf/be.conf 
b/regression-test/pipeline/p0/conf/be.conf
index d562e864a84..3e74bf07c87 100644
--- a/regression-test/pipeline/p0/conf/be.conf
+++ b/regression-test/pipeline/p0/conf/be.conf
@@ -79,3 +79,6 @@ user_files_secure_path=/
 enable_debug_points=true
 # debug scanner context dead loop
 enable_debug_log_timeout_secs=0
+sys_log_verbose_modules = src/brpc
+sys_log_verbose_level = 100
+sys_log_verbose_flags_v = 100
diff --git a/regression-test/pipeline/p1/conf/be.conf 
b/regression-test/pipeline/p1/conf/be.conf
index d4b1cec2e89..3d65d55f0af 100644
--- a/regression-test/pipeline/p1/conf/be.conf
+++ b/regression-test/pipeline/p1/conf/be.conf
@@ -70,4 +70,7 @@ fragment_pool_thread_num_max=5000
 enable_fuzzy_mode=true
 enable_set_in_bitmap_value=true
 enable_feature_binlog=true
-max_sys_mem_available_low_water_mark_bytes=69206016
\ No newline at end of file
+max_sys_mem_available_low_water_mark_bytes=69206016
+sys_log_verbose_modules = src/brpc
+sys_log_verbose_level = 100
+sys_log_verbose_flags_v = 100


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

Reply via email to