From 5efe31382d9a86a1c9fe4302dc80b6889c6cbb4e Mon Sep 17 00:00:00 2001 From: yangwei Date: Wed, 12 Jul 2023 19:27:17 +0800 Subject: 🎈 perf(less fatal log): 减少输出fatal级别日志的逻辑 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 单向流变双向流时的日志级别改为debug --- src/HTTP_Message_Header.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HTTP_Message_Header.c b/src/HTTP_Message_Header.c index 8de2f7c..254d7a3 100644 --- a/src/HTTP_Message_Header.c +++ b/src/HTTP_Message_Header.c @@ -256,7 +256,7 @@ void http_initHttpConnection(http_stream *a_http_stream, int thread_seq, struct /*http have set one-way traffic, but sapp become two-way traffic*/ if(a_tcp->dir==DIR_DOUBLE && (a_http_stream->dir==DIR_S2C||a_http_stream->dir==DIR_C2S)) { - MESA_handle_runtime_log(g_http_prog_para.http_log_handle, RLOG_LV_FATAL, HTTP_PLUGIN_NAME, "http set single, but sapp become double, addr:%s.", + MESA_handle_runtime_log(g_http_prog_para.http_log_handle, RLOG_LV_DEBUG, HTTP_PLUGIN_NAME, "http set single, but sapp become double, addr:%s.", printaddr(&a_tcp->addr,thread_seq)); } } -- cgit v1.2.3