调整日志输出
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user