You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by le...@apache.org on 2022/02/17 03:38:00 UTC
[incubator-brpc] branch master updated: change fatal to error
This is an automated email from the ASF dual-hosted git repository.
leander pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push:
new a75adcc change fatal to error
new 75c5b46 Merge pull request #1692 from guodongxiaren/fix_lb_log_level
a75adcc is described below
commit a75adcc60de06c8036eed1ce8a48a349983cd528
Author: guodongxiaren <87...@qq.com>
AuthorDate: Fri Feb 11 21:20:51 2022 +0800
change fatal to error
---
src/brpc/details/load_balancer_with_naming.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/brpc/details/load_balancer_with_naming.cpp b/src/brpc/details/load_balancer_with_naming.cpp
index 2fad84b..7370a1f 100644
--- a/src/brpc/details/load_balancer_with_naming.cpp
+++ b/src/brpc/details/load_balancer_with_naming.cpp
@@ -34,11 +34,11 @@ int LoadBalancerWithNaming::Init(const char* ns_url, const char* lb_name,
return -1;
}
if (GetNamingServiceThread(&_nsthread_ptr, ns_url, options) != 0) {
- LOG(FATAL) << "Fail to get NamingServiceThread";
+ LOG(ERROR) << "Fail to get NamingServiceThread";
return -1;
}
if (_nsthread_ptr->AddWatcher(this, filter) != 0) {
- LOG(FATAL) << "Fail to add watcher into _server_list";
+ LOG(ERROR) << "Fail to add watcher into _server_list";
return -1;
}
return 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@brpc.apache.org
For additional commands, e-mail: dev-help@brpc.apache.org