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

jamesge pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brpc.git


The following commit(s) were added to refs/heads/master by this push:
     new 4035c802 initialize LogStream._backtrace to fixed randomly printed 
stacktraces
4035c802 is described below

commit 4035c8020e2ec01e2dcbda8a9e4eaf3feb492c01
Author: gejun <jge...@gmail.com>
AuthorDate: Tue Nov 26 09:46:08 2024 +0000

    initialize LogStream._backtrace to fixed randomly printed stacktraces
---
 src/butil/logging.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/butil/logging.h b/src/butil/logging.h
index 1d032427..a26ff1e1 100644
--- a/src/butil/logging.h
+++ b/src/butil/logging.h
@@ -922,7 +922,7 @@ friend void DestroyLogStream(LogStream*);
 public:
     LogStream()
         : std::ostream(this), _file("-"), _line(0), _func("-")
-        , _severity(0) , _noflush(false), _is_check(false) {
+        , _severity(0) , _noflush(false), _is_check(false), _backtrace(false) {
     }
 
     ~LogStream() {


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

Reply via email to