未验证 提交 03d851f6 编写于 作者: Z zhagnlu 提交者: GitHub

Fix init log failed on macOS standalone mode (#26061)

Signed-off-by: Nluzhang <luzhang@zilliz.com>
Co-authored-by: Nluzhang <luzhang@zilliz.com>
上级 3fc18c53
......@@ -33,7 +33,9 @@ KnowhereInitImpl(const char* conf_file) {
knowhere::KnowhereConfig::SetBlasThreshold(16384);
knowhere::KnowhereConfig::SetEarlyStopThreshold(0);
knowhere::KnowhereConfig::ShowVersion();
google::InitGoogleLogging("milvus");
if (!google::IsGoogleLoggingInitialized()) {
google::InitGoogleLogging("milvus");
}
#ifdef EMBEDDED_MILVUS
// always disable all logs for embedded milvus
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册