From addd3bc369d69593acaa7b08de3a43ccd68a5a83 Mon Sep 17 00:00:00 2001 From: Jackarain Date: Wed, 22 Nov 2023 20:41:54 +0800 Subject: [PATCH] Improve log print --- proxy/include/proxy/proxy_server.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxy/include/proxy/proxy_server.hpp b/proxy/include/proxy/proxy_server.hpp index 5557735156..348ef51a03 100644 --- a/proxy/include/proxy/proxy_server.hpp +++ b/proxy/include/proxy/proxy_server.hpp @@ -2337,10 +2337,10 @@ R"x*x( if (ec) { - XLOG_WFMT("{} id: {}," - " connect to next host {}:{} error: {}", - std::string(scheme), + XLOG_WFMT("connection id: {}" + ", {} connect to next host {}:{} error: {}", m_connection_id, + std::string(scheme), target_host, target_port, ec.message());