|
|
@ -187,35 +187,35 @@ func StatsCommandVG(t *icsnet.IcsTCPNet, bufend string) {
|
|
|
|
seqId := s.Seq + svc + randNum
|
|
|
|
seqId := s.Seq + svc + randNum
|
|
|
|
|
|
|
|
|
|
|
|
insLog := ""
|
|
|
|
insLog := ""
|
|
|
|
insLog += fmt.Sprintf("seqId:%s\n", seqId)
|
|
|
|
insLog += fmt.Sprintf("seqId=%s|", seqId)
|
|
|
|
insLog += fmt.Sprintf("LogTime:%s, ", statInfos.LogTime)
|
|
|
|
insLog += fmt.Sprintf("LogTime=%s|", statInfos.LogTime)
|
|
|
|
insLog += fmt.Sprintf("LogType:%s, ", statInfos.LogType)
|
|
|
|
insLog += fmt.Sprintf("LogType=%s|", statInfos.LogType)
|
|
|
|
insLog += fmt.Sprintf("Sid:%s, ", statInfos.Sid)
|
|
|
|
insLog += fmt.Sprintf("Sid=%s|", statInfos.Sid)
|
|
|
|
insLog += fmt.Sprintf("ResultCode:%s, ", statInfos.ResultCode)
|
|
|
|
insLog += fmt.Sprintf("ResultCode=%s|", statInfos.ResultCode)
|
|
|
|
insLog += fmt.Sprintf("ReqTime:%s, ", statInfos.ReqTime)
|
|
|
|
insLog += fmt.Sprintf("ReqTime=%s|", statInfos.ReqTime)
|
|
|
|
insLog += fmt.Sprintf("RspTime:%s, ", statInfos.RspTime)
|
|
|
|
insLog += fmt.Sprintf("RspTime=%s|", statInfos.RspTime)
|
|
|
|
insLog += fmt.Sprintf("ClientIp:%s, ", statInfos.ClientIp)
|
|
|
|
insLog += fmt.Sprintf("ClientIp=%s|", statInfos.ClientIp)
|
|
|
|
insLog += fmt.Sprintf("DevInfo:%s, ", statInfos.DevInfo)
|
|
|
|
insLog += fmt.Sprintf("DevInfo=%s|", statInfos.DevInfo)
|
|
|
|
insLog += fmt.Sprintf("OsInfo:%s, ", statInfos.OsInfo)
|
|
|
|
insLog += fmt.Sprintf("OsInfo=%s|", statInfos.OsInfo)
|
|
|
|
insLog += fmt.Sprintf("NwInfo:%s, ", statInfos.NwInfo)
|
|
|
|
insLog += fmt.Sprintf("NwInfo=%s|", statInfos.NwInfo)
|
|
|
|
insLog += fmt.Sprintf("SvcName:%s, ", statInfos.SvcName)
|
|
|
|
insLog += fmt.Sprintf("SvcName=%s|", statInfos.SvcName)
|
|
|
|
insLog += fmt.Sprintf("DevModel:%s, ", statInfos.DevModel)
|
|
|
|
insLog += fmt.Sprintf("DevModel=%s|", statInfos.DevModel)
|
|
|
|
insLog += fmt.Sprintf("CarrierType:%s, ", statInfos.CarrierType)
|
|
|
|
insLog += fmt.Sprintf("CarrierType=%s|", statInfos.CarrierType)
|
|
|
|
insLog += fmt.Sprintf("HostName:%s, ", statInfos.HostName)
|
|
|
|
insLog += fmt.Sprintf("HostName=%s|", statInfos.HostName)
|
|
|
|
insLog += fmt.Sprintf("ScnName:%s, ", statInfos.ScnName)
|
|
|
|
insLog += fmt.Sprintf("ScnName=%s|", statInfos.ScnName)
|
|
|
|
insLog += fmt.Sprintf("CallId:%s, ", statInfos.CallId)
|
|
|
|
insLog += fmt.Sprintf("CallId=%s|", statInfos.CallId)
|
|
|
|
insLog += fmt.Sprintf("TrId:%s, ", statInfos.TrId)
|
|
|
|
insLog += fmt.Sprintf("TrId=%s|", statInfos.TrId)
|
|
|
|
insLog += fmt.Sprintf("ConcCall:%s, ", statInfos.ConcCall)
|
|
|
|
insLog += fmt.Sprintf("ConcCall=%s|", statInfos.ConcCall)
|
|
|
|
insLog += fmt.Sprintf("SvcType:%s, ", statInfos.SvcType)
|
|
|
|
insLog += fmt.Sprintf("SvcType=%s|", statInfos.SvcType)
|
|
|
|
insLog += fmt.Sprintf("SvcReqTime:%s, ", statInfos.SvcReqTime)
|
|
|
|
insLog += fmt.Sprintf("SvcReqTime=%s|", statInfos.SvcReqTime)
|
|
|
|
insLog += fmt.Sprintf("SvcRspTime:%s, ", statInfos.SvcRspTime)
|
|
|
|
insLog += fmt.Sprintf("SvcRspTime=%s|", statInfos.SvcRspTime)
|
|
|
|
insLog += fmt.Sprintf("TransferNo:%s, ", statInfos.TransferNo)
|
|
|
|
insLog += fmt.Sprintf("TransferNo=%s|", statInfos.TransferNo)
|
|
|
|
insLog += fmt.Sprintf("CallTime:%s, ", statInfos.CallTime)
|
|
|
|
insLog += fmt.Sprintf("CallTime=%s|", statInfos.CallTime)
|
|
|
|
insLog += fmt.Sprintf("CallType:%s, ", statInfos.CallType)
|
|
|
|
insLog += fmt.Sprintf("CallType=%s|", statInfos.CallType)
|
|
|
|
insLog += fmt.Sprintf("FunName:%s, ", statInfos.FunName)
|
|
|
|
insLog += fmt.Sprintf("FunName=%s|", statInfos.FunName)
|
|
|
|
insLog += fmt.Sprintf("ResultMsg:%s, ", statInfos.ResultMsg)
|
|
|
|
insLog += fmt.Sprintf("ResultMsg=%s|", statInfos.ResultMsg)
|
|
|
|
insLog += fmt.Sprintf("SttText:%s, ", statInfos.SttText)
|
|
|
|
insLog += fmt.Sprintf("SttText=%s|", statInfos.SttText)
|
|
|
|
insLog += fmt.Sprintf("TtsText:%s", statInfos.TtsText)
|
|
|
|
insLog += fmt.Sprintf("TtsText=%s", statInfos.TtsText)
|
|
|
|
|
|
|
|
|
|
|
|
l.Printf(icslog.LOG_LEVEL_INFO, -1, "%s", insLog)
|
|
|
|
l.Printf(icslog.LOG_LEVEL_INFO, -1, "%s", insLog)
|
|
|
|
fmt.Printf("stats- %s \n", statInfos.SeqId)
|
|
|
|
fmt.Printf("stats- %s \n", statInfos.SeqId)
|
|
|
|