Show knowhere version when system up (#22172)

Signed-off-by: Yudong Cai <yudong.cai@zilliz.com>
This commit is contained in:
Cai Yudong 2023-02-14 19:04:34 +08:00 committed by GitHub
parent 77a27c6dfc
commit 68f146d5df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}; };