mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +08:00
Fix init log failed on macOS standalone mode (#26061)
Signed-off-by: luzhang <luzhang@zilliz.com> Co-authored-by: luzhang <luzhang@zilliz.com>
This commit is contained in:
parent
3fc18c53a3
commit
03d851f61f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user