mirror of https://github.com/milvus-io/milvus.git
Fix embedded milvus log bug (#26864)
Signed-off-by: luzhang <luzhang@zilliz.com> Co-authored-by: luzhang <luzhang@zilliz.com>pull/26872/head
parent
bd4b842153
commit
9b3e744b24
|
@ -40,10 +40,11 @@ KnowhereInitImpl(const char* conf_file) {
|
|||
#ifdef EMBEDDED_MILVUS
|
||||
// always disable all logs for embedded milvus
|
||||
google::SetCommandLineOption("minloglevel", "4");
|
||||
#endif
|
||||
#else
|
||||
if (conf_file != nullptr) {
|
||||
gflags::SetCommandLineOption("flagfile", conf_file);
|
||||
}
|
||||
#endif
|
||||
};
|
||||
|
||||
std::call_once(init_knowhere_once_, init);
|
||||
|
|
Loading…
Reference in New Issue