diff --git a/engine/cli/commands/model_status_cmd.cc b/engine/cli/commands/model_status_cmd.cc index cd9f3034d..e467e4353 100644 --- a/engine/cli/commands/model_status_cmd.cc +++ b/engine/cli/commands/model_status_cmd.cc @@ -25,7 +25,7 @@ bool ModelStatusCmd::IsLoaded(const std::string& host, int port, auto res = curl_utils::SimpleGetJson(url.ToFullPath()); if (res.has_error()) { auto root = json_helper::ParseJsonString(res.error()); - CLI_LOG(root["message"].asString()); + CTL_WRN(root["message"].asString()); return false; } diff --git a/engine/services/engine_service.cc b/engine/services/engine_service.cc index bdd080f50..c8f4c180c 100644 --- a/engine/services/engine_service.cc +++ b/engine/services/engine_service.cc @@ -8,6 +8,7 @@ #include "database/engines.h" #include "extensions/remote-engine/remote_engine.h" #include "utils/archive_utils.h" +#include "utils/cpuid/cpu_info.h" #include "utils/engine_constants.h" #include "utils/engine_matcher_utils.h" #include "utils/file_manager_utils.h" @@ -691,6 +692,9 @@ cpp::result EngineService::LoadEngine( // End hard code CTL_INF("Loading engine: " << ne); +#if defined(_WIN32) || defined(_WIN64) || defined(__linux__) + CTL_INF("CPU Info: " << cortex::cpuid::CpuInfo().to_string()); +#endif auto engine_dir_path_res = GetEngineDirPath(ne); if (engine_dir_path_res.has_error()) { diff --git a/engine/utils/github_release_utils.h b/engine/utils/github_release_utils.h index be97cb37c..72d7687f6 100644 --- a/engine/utils/github_release_utils.h +++ b/engine/utils/github_release_utils.h @@ -194,7 +194,7 @@ inline cpp::result GetReleaseByVersion( .pathParams = path_params, }; - CTL_DBG("GetReleaseByVersion: " << url.ToFullPath()); + // CTL_DBG("GetReleaseByVersion: " << url.ToFullPath()); auto result = curl_utils::SimpleGetJson(url_parser::FromUrl(url), kCurlGetTimeout);