diff --git a/src/model_config_utils.cc b/src/model_config_utils.cc index d24a3b3e1..598d1894f 100644 --- a/src/model_config_utils.cc +++ b/src/model_config_utils.cc @@ -677,8 +677,8 @@ GetNormalizedModelConfig( // to auto-complete. RETURN_IF_ERROR( AutoCompleteBackendFields(model_name, std::string(path), config)); - LOG_VERBOSE(1) << "Server side auto-completed config: " - << config->DebugString(); + + LOG_PROTOBUF_VERBOSE(1, "Server side auto-completed config: ", (*config)); RETURN_IF_ERROR(NormalizeModelConfig(min_compute_capability, config)); diff --git a/src/server.cc b/src/server.cc index afe3f3cde..00eccedc4 100644 --- a/src/server.cc +++ b/src/server.cc @@ -603,8 +603,7 @@ InferenceServer::PrintBackendAndModelSummary() repoagent_record.emplace_back(repoagent_pair.second); repoagents_table.InsertRow(repoagent_record); } - std::string repoagents_table_string = repoagents_table.PrintTable(); - LOG_INFO << repoagents_table_string; + LOG_TABLE_INFO(repoagents_table); // Backends Summary std::vector backend_headers; @@ -630,8 +629,8 @@ InferenceServer::PrintBackendAndModelSummary() } backends_table.InsertRow(backend_record); } - std::string backends_table_string = backends_table.PrintTable(); - LOG_INFO << backends_table_string; + + LOG_TABLE_INFO(backends_table); // Models Summary auto model_states = model_repository_manager_->ModelStates(); @@ -673,8 +672,8 @@ InferenceServer::PrintBackendAndModelSummary() } } } - std::string models_table_string = models_table.PrintTable(); - LOG_INFO << models_table_string; + + LOG_TABLE_INFO(models_table); return Status::Success; } diff --git a/src/tritonserver.cc b/src/tritonserver.cc index 28d19143f..442806b02 100644 --- a/src/tritonserver.cc +++ b/src/tritonserver.cc @@ -2554,8 +2554,7 @@ TRITONSERVER_ServerNew( options_table.InsertRow(std::vector{ "cache_enabled", std::to_string(lserver->ResponseCacheEnabled())}); - std::string options_table_string = options_table.PrintTable(); - LOG_INFO << options_table_string; + LOG_TABLE_INFO(options_table); if (!status.IsOk()) { if (loptions->ExitOnError()) {