From caf1f6c64f2ab5b19e3d9011f1d106217354aae1 Mon Sep 17 00:00:00 2001 From: yangwei Date: Mon, 17 Apr 2023 21:47:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=84=20refactor(tsg=20entry):=20?= =?UTF-8?q?=E5=AF=B9=E5=8F=91=E9=80=81active=E7=8A=B6=E6=80=81=E7=9A=84sid?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9C=AC=E5=9C=B0=E6=97=A5=E5=BF=97=EF=BC=8C?= =?UTF-8?q?info=E7=BA=A7=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tsg_entry.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tsg_entry.cpp b/src/tsg_entry.cpp index 0c2f797..19aafd9 100644 --- a/src/tsg_entry.cpp +++ b/src/tsg_entry.cpp @@ -834,6 +834,8 @@ int session_set_segment_id_in_activing(const struct streaminfo *a_stream, TSG_SE return 0; } + MESA_handle_runtime_log(g_tsg_para.logger, RLOG_LV_INFO, "set_segment_id", "set in active status , service:%d, sid:%u,session addr:%s", service, segment_id, PRINTADDR(a_stream, g_tsg_para.level)); + struct segment_id_list *segment_ids=(struct segment_id_list *)session_control_segment_ids_get(a_stream); if(segment_ids==NULL) { @@ -1674,6 +1676,7 @@ static size_t session_pending_state_deal(const struct streaminfo *a_stream, stru if((is_only_monitor(results, hit_num)) && srt_process_context->proto==PROTO_DNS) // business deal action of monitor { + MESA_handle_runtime_log(g_tsg_para.logger, RLOG_LV_INFO, "pending_state_deal", "is_only_monitor, clean hit_num to 0, :%s", PRINTADDR(a_stream, g_tsg_para.level)); hit_num=0; }