提交 d9138e19 编写于 作者: S starlord

#80 Print version information into log during server start


Former-commit-id: 874acccc6856b18b9f5992a2ee7bf14382f0f3c6
上级 05fda8c7
......@@ -7,6 +7,7 @@ Please mark all change in change log and use the ticket from JIRA.
## Bug
## Improvement
- \#64 - Improvement dump function in scheduler
- \#80 - Print version information into log during server start
## Feature
## Task
......
......@@ -19,6 +19,7 @@
#include <string.h>
#include <unistd.h>
#include "../../version.h"
#include "metrics/Metrics.h"
#include "scheduler/SchedInst.h"
#include "server/Config.h"
......@@ -180,6 +181,9 @@ Server::Start() {
InitLog(log_config_file_);
// print version information
SERVER_LOG_INFO << "Milvus " << BUILD_TYPE << " version: v" << MILVUS_VERSION << ", built at " << BUILD_TIME;
server::Metrics::GetInstance().Init();
server::SystemInfo::GetInstance().Init();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册