로그 추가

main
JungJun 2 years ago
parent eab66199c5
commit 368e57d7c7

@ -325,35 +325,35 @@ func StatsCommandVA(t *icsnet.IcsTCPNet, bufend string) {
insLog += fmt.Sprintf("TTS_TEXT=%s", statInfos.TtsText)
l.Printf(icslog.LOG_LEVEL_INFO, -1, "%s", insLog)
fmt.Sprintf("SEQ_ID=%+v|", utf8.ValidString(seqId))
fmt.Sprintf("LOG_TIME=%+v|", utf8.ValidString(statInfos.LogTime))
fmt.Sprintf("LOG_TYPE=%+v|", utf8.ValidString(statInfos.LogType))
fmt.Sprintf("SID=%+v|", utf8.ValidString(statInfos.Sid))
fmt.Sprintf("RESULT_CODE=%+v|", utf8.ValidString(statInfos.ResultCode))
fmt.Sprintf("REQ_TIME=%+v|", utf8.ValidString(statInfos.ReqTime))
fmt.Sprintf("RSP_TIME=%+v|", utf8.ValidString(statInfos.RspTime))
fmt.Sprintf("CLIENT_IP=%+v|", utf8.ValidString(statInfos.ClientIp))
fmt.Sprintf("DEV_INFO=%+v|", utf8.ValidString(statInfos.DevInfo))
fmt.Sprintf("OS_INFO=%+v|", utf8.ValidString(statInfos.OsInfo))
fmt.Sprintf("NW_INFO=%+v|", utf8.ValidString(statInfos.NwInfo))
fmt.Sprintf("SVC_NAME=%+v|", utf8.ValidString(statInfos.SvcName))
fmt.Sprintf("DEV_MODEL=%+v|", utf8.ValidString(statInfos.DevModel))
fmt.Sprintf("CARRIER_TYPE=%+v|", utf8.ValidString(statInfos.CarrierType))
fmt.Sprintf("HOST_NAME=%+v|", utf8.ValidString(hostName))
fmt.Sprintf("SCN_NAME=%+v|", utf8.ValidString(statInfos.ScnName))
fmt.Sprintf("CALL_ID=%+v|", utf8.ValidString(statInfos.CallId))
fmt.Sprintf("TR_ID=%+v|", utf8.ValidString(statInfos.TrId))
fmt.Sprintf("CONC_CALL=%+v|", utf8.ValidString(statInfos.ConcCall))
fmt.Sprintf("SVC_TYPE=%+v|", utf8.ValidString(statInfos.SvcType))
fmt.Sprintf("SVC_REQ_TIME=%+v|", utf8.ValidString(statInfos.SvcReqTime))
fmt.Sprintf("SVC_RSP_TIME=%+v|", utf8.ValidString(statInfos.SvcRspTime))
fmt.Sprintf("TRANSFER_NO=%+v|", utf8.ValidString(statInfos.TransferNo))
fmt.Sprintf("CALL_TIME=%+v|", utf8.ValidString(statInfos.CallTime))
fmt.Sprintf("CALL_TYPE=%+v|", utf8.ValidString(statInfos.CallType))
fmt.Sprintf("FUN_NAME=%+v|", utf8.ValidString(statInfos.FunName))
fmt.Sprintf("RESULT_MSG=%+v|", utf8.ValidString(statInfos.ResultMsg))
fmt.Sprintf("STT_TEXT=%+v|", utf8.ValidString(statInfos.SttText))
fmt.Sprintf("TTS_TEXT=%+v", utf8.ValidString(statInfos.TtsText))
fmt.Printf("SEQ_ID=%+v|", utf8.ValidString(seqId))
fmt.Printf("LOG_TIME=%+v|", utf8.ValidString(statInfos.LogTime))
fmt.Printf("LOG_TYPE=%+v|", utf8.ValidString(statInfos.LogType))
fmt.Printf("SID=%+v|", utf8.ValidString(statInfos.Sid))
fmt.Printf("RESULT_CODE=%+v|", utf8.ValidString(statInfos.ResultCode))
fmt.Printf("REQ_TIME=%+v|", utf8.ValidString(statInfos.ReqTime))
fmt.Printf("RSP_TIME=%+v|", utf8.ValidString(statInfos.RspTime))
fmt.Printf("CLIENT_IP=%+v|", utf8.ValidString(statInfos.ClientIp))
fmt.Printf("DEV_INFO=%+v|", utf8.ValidString(statInfos.DevInfo))
fmt.Printf("OS_INFO=%+v|", utf8.ValidString(statInfos.OsInfo))
fmt.Printf("NW_INFO=%+v|", utf8.ValidString(statInfos.NwInfo))
fmt.Printf("SVC_NAME=%+v|", utf8.ValidString(statInfos.SvcName))
fmt.Printf("DEV_MODEL=%+v|", utf8.ValidString(statInfos.DevModel))
fmt.Printf("CARRIER_TYPE=%+v|", utf8.ValidString(statInfos.CarrierType))
fmt.Printf("HOST_NAME=%+v|", utf8.ValidString(hostName))
fmt.Printf("SCN_NAME=%+v|", utf8.ValidString(statInfos.ScnName))
fmt.Printf("CALL_ID=%+v|", utf8.ValidString(statInfos.CallId))
fmt.Printf("TR_ID=%+v|", utf8.ValidString(statInfos.TrId))
fmt.Printf("CONC_CALL=%+v|", utf8.ValidString(statInfos.ConcCall))
fmt.Printf("SVC_TYPE=%+v|", utf8.ValidString(statInfos.SvcType))
fmt.Printf("SVC_REQ_TIME=%+v|", utf8.ValidString(statInfos.SvcReqTime))
fmt.Printf("SVC_RSP_TIME=%+v|", utf8.ValidString(statInfos.SvcRspTime))
fmt.Printf("TRANSFER_NO=%+v|", utf8.ValidString(statInfos.TransferNo))
fmt.Printf("CALL_TIME=%+v|", utf8.ValidString(statInfos.CallTime))
fmt.Printf("CALL_TYPE=%+v|", utf8.ValidString(statInfos.CallType))
fmt.Printf("FUN_NAME=%+v|", utf8.ValidString(statInfos.FunName))
fmt.Printf("RESULT_MSG=%+v|", utf8.ValidString(statInfos.ResultMsg))
fmt.Printf("STT_TEXT=%+v|", utf8.ValidString(statInfos.SttText))
fmt.Printf("TTS_TEXT=%+v", utf8.ValidString(statInfos.TtsText))
// fmt.Printf("stats- %s \n", statInfos.SeqId)
// fmt.Printf("stats- %s \n", statInfos.LogTime)

Loading…
Cancel
Save