Show knowhere version when system up (#22172)

Signed-off-by: Yudong Cai <yudong.cai@zilliz.com>
pull/22182/head
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
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ KnowhereInitImpl(const char* conf_file) {
knowhere::KnowhereConfig::SetEarlyStopThreshold(0);
knowhere::KnowhereConfig::SetLogHandler();
knowhere::KnowhereConfig::SetStatisticsLevel(0);
knowhere::KnowhereConfig::ShowVersion();
#ifdef EMBEDDED_MILVUS
// always disable all logs for embedded milvus.
@ -46,6 +47,7 @@ KnowhereInitImpl(const char* conf_file) {
el::Loggers::reconfigureAllLoggers(el_conf);
LOG_SERVER_DEBUG_ << "Config easylogging with yaml file: " << conf_file;
}
LOG_SERVER_DEBUG_ << "Knowhere init successfully";
#endif
};