mirror of https://github.com/milvus-io/milvus.git
#80 Print version information into log during server start
Former-commit-id: 874acccc6856b18b9f5992a2ee7bf14382f0f3c6pull/191/head
parent
05fda8c7ee
commit
d9138e1960
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue