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

zouxinyi pushed a commit to branch branch-1.1-lts
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-1.1-lts by this push:
     new 0346471746 [improvement](signal handler) output error message to 
be.out (#13930)
0346471746 is described below

commit 0346471746f74f5dc7c49f8072108cc77988729b
Author: yiguolei <676222...@qq.com>
AuthorDate: Thu Nov 3 14:26:09 2022 +0800

    [improvement](signal handler) output error message to be.out (#13930)
    
    Co-authored-by: yiguolei <yiguo...@gmail.com>
---
 be/src/common/logconfig.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/be/src/common/logconfig.cpp b/be/src/common/logconfig.cpp
index b262d0c3b8..51b8ca869c 100644
--- a/be/src/common/logconfig.cpp
+++ b/be/src/common/logconfig.cpp
@@ -58,8 +58,8 @@ bool init_glog(const char* basename) {
         FLAGS_alsologtostderr = true;
     }
 
-    // don't log to stderr
-    FLAGS_stderrthreshold = 5;
+    // log to be.out
+    FLAGS_stderrthreshold = google::FATAL;
     // set glog log dir
     FLAGS_log_dir = config::sys_log_dir;
     // 0 means buffer INFO only


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

Reply via email to