diff --git a/entry/src/kni_entry.cpp b/entry/src/kni_entry.cpp index 9b0591a..059a120 100644 --- a/entry/src/kni_entry.cpp +++ b/entry/src/kni_entry.cpp @@ -1752,8 +1752,8 @@ static void keepalive_replay_data_free_cb(void *data) FREE(&data); } - extern "C" int kni_init(){ + char *kni_git_verison = (char*)KNI_GIT_VERSION; const char *profile = "./conf/kni/kni.conf"; const char *section = "global"; //init logger @@ -1786,6 +1786,9 @@ extern "C" int kni_init(){ printf("Failed at create logger: %s", log_path); goto error_out; } + //kni_git_log + KNI_LOG_ERROR(local_logger, "----------kni version is %s-----------", kni_git_verison); + ret = MESA_load_profile_int_nodef(profile, section, "tfe_node_count", &tfe_node_count); if(ret < 0){ KNI_LOG_ERROR(local_logger, "MESA_prof_load: tfe_node_count not set, profile is %s, section is %s", profile, section);