mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 10:59:32 +08:00
Show knowhere version when system up (#22172)
Signed-off-by: Yudong Cai <yudong.cai@zilliz.com>
This commit is contained in:
parent
77a27c6dfc
commit
68f146d5df
@ -34,6 +34,7 @@ KnowhereInitImpl(const char* conf_file) {
|
|||||||
knowhere::KnowhereConfig::SetEarlyStopThreshold(0);
|
knowhere::KnowhereConfig::SetEarlyStopThreshold(0);
|
||||||
knowhere::KnowhereConfig::SetLogHandler();
|
knowhere::KnowhereConfig::SetLogHandler();
|
||||||
knowhere::KnowhereConfig::SetStatisticsLevel(0);
|
knowhere::KnowhereConfig::SetStatisticsLevel(0);
|
||||||
|
knowhere::KnowhereConfig::ShowVersion();
|
||||||
|
|
||||||
#ifdef EMBEDDED_MILVUS
|
#ifdef EMBEDDED_MILVUS
|
||||||
// always disable all logs for embedded milvus.
|
// always disable all logs for embedded milvus.
|
||||||
@ -46,6 +47,7 @@ KnowhereInitImpl(const char* conf_file) {
|
|||||||
el::Loggers::reconfigureAllLoggers(el_conf);
|
el::Loggers::reconfigureAllLoggers(el_conf);
|
||||||
LOG_SERVER_DEBUG_ << "Config easylogging with yaml file: " << conf_file;
|
LOG_SERVER_DEBUG_ << "Config easylogging with yaml file: " << conf_file;
|
||||||
}
|
}
|
||||||
|
LOG_SERVER_DEBUG_ << "Knowhere init successfully";
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user