From fb0254374955ea413777b779fc0c3fea2793c7ae Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Thu, 17 Sep 2020 16:38:25 +0800 Subject: [PATCH] =?UTF-8?q?tcp=20options=20=E5=AE=8C=E5=96=84=20debuglog?= =?UTF-8?q?=EF=BC=8C=E5=8F=AF=E9=80=9A=E8=BF=87=20stream=5Faddr=20?= =?UTF-8?q?=E5=85=B3=E8=81=94=20stream=5Fptr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform/src/tcp_stream.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/src/tcp_stream.cpp b/platform/src/tcp_stream.cpp index 90d9c31..13faccb 100644 --- a/platform/src/tcp_stream.cpp +++ b/platform/src/tcp_stream.cpp @@ -1439,8 +1439,8 @@ void __stream_fd_option_setup(struct tfe_stream_private * _stream, evutil_socket } TFE_LOG_DEBUG(g_default_logger, - "%s %s: fetch tcp options, nodelay: %d ttl: %d keepalive: %d keepcnt: %d keepidle: %d keepintvl: %d user_timeout: %d", - stream->str_stream_info, (dir == CONN_DIR_DOWNSTREAM ? "downstream" : "upstream"), + "%p %s %s: fetch tcp options, nodelay: %d ttl: %d keepalive: %d keepcnt: %d keepidle: %d keepintvl: %d user_timeout: %d", + stream, stream->str_stream_info, (dir == CONN_DIR_DOWNSTREAM ? "downstream" : "upstream"), options.tcp_nodelay, options.tcp_ttl, options.tcp_keepalive, options.tcp_keepcnt, options.tcp_keepidle, options.tcp_keepintvl, options.tcp_user_timeout);