From 68f146d5dfbe3c83c779289b9f24ecca99c354b2 Mon Sep 17 00:00:00 2001 From: Cai Yudong Date: Tue, 14 Feb 2023 19:04:34 +0800 Subject: [PATCH] Show knowhere version when system up (#22172) Signed-off-by: Yudong Cai --- internal/core/src/config/ConfigKnowhere.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/core/src/config/ConfigKnowhere.cpp b/internal/core/src/config/ConfigKnowhere.cpp index 046ff1c039..c9e74d0b3d 100644 --- a/internal/core/src/config/ConfigKnowhere.cpp +++ b/internal/core/src/config/ConfigKnowhere.cpp @@ -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 };