diff options
| author | wangmenglan <[email protected]> | 2023-06-12 19:47:58 +0800 |
|---|---|---|
| committer | wangmenglan <[email protected]> | 2023-06-12 19:47:58 +0800 |
| commit | 5ad6ef771daf843f931cb6b6acde3f569813407b (patch) | |
| tree | 77bdad442de7fefcc7a4b743c3377447196f16f4 /common/src/tfe_ctrl_packet.cpp | |
| parent | 9e75c71d94438bfed10f8210aa7410e985d05064 (diff) | |
调整日志输出v4.8.26-20230612
Diffstat (limited to 'common/src/tfe_ctrl_packet.cpp')
| -rw-r--r-- | common/src/tfe_ctrl_packet.cpp | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/common/src/tfe_ctrl_packet.cpp b/common/src/tfe_ctrl_packet.cpp index 67a1aae..1b470d1 100644 --- a/common/src/tfe_ctrl_packet.cpp +++ b/common/src/tfe_ctrl_packet.cpp @@ -410,21 +410,19 @@ void ctrl_packet_parser_dump(struct ctrl_pkt_parser *handler, void *logger) { if (handler) { - TFE_LOG_INFO(logger, "%s: tsync : %s", LOG_TAG_POLICY, handler->tsync); - TFE_LOG_INFO(logger, "%s: session_id : %lu", LOG_TAG_POLICY, handler->session_id); - TFE_LOG_INFO(logger, "%s: state : %s", LOG_TAG_POLICY, session_state_to_string(handler->state)); - TFE_LOG_INFO(logger, "%s: method : %s", LOG_TAG_POLICY, handler->method); - TFE_LOG_INFO(logger, "%s: tfe policy_id_num : %d", LOG_TAG_POLICY, handler->tfe_policy_id_num); - - for (int i = 0; i < handler->tfe_policy_id_num; i++) - { - TFE_LOG_INFO(logger, "%s: %d tfe policy_ids[%03lu]", LOG_TAG_POLICY, i, handler->tfe_policy_ids[i]); - } - TFE_LOG_INFO(logger, "%s: sce policy_id_num : %d", LOG_TAG_POLICY, handler->sce_policy_id_num); + TFE_LOG_INFO(logger, "%s: tsync: %s, session_id: %lu, state: %s, method: %s, tfe policy_id_num: %d, tfe policy_ids[%03lu], sce policy_id_num: %d", + LOG_TAG_POLICY, + handler->tsync, + handler->session_id, + session_state_to_string(handler->state), + handler->method, + handler->tfe_policy_id_num, + handler->tfe_policy_ids[0], + handler->sce_policy_id_num); for (int i = 0; i < handler->sce_policy_id_num; i++) { - TFE_LOG_INFO(logger, "%s: %d sce policy_ids[%03lu]", LOG_TAG_POLICY, i, handler->sce_policy_ids[i]); + TFE_LOG_INFO(logger, "%s: %d session %lu sce policy_ids[%03lu]", LOG_TAG_POLICY, i, handler->session_id, handler->sce_policy_ids[i]); } } } |
