From 6469db4e38773a714dea755246e64158d2501c55 Mon Sep 17 00:00:00 2001 From: JungJun Date: Thu, 23 Jun 2022 16:36:44 +0900 Subject: [PATCH] =?UTF-8?q?seqid=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- icsstat/icsstat.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/icsstat/icsstat.go b/icsstat/icsstat.go index 15c65e6..81ee956 100644 --- a/icsstat/icsstat.go +++ b/icsstat/icsstat.go @@ -180,12 +180,12 @@ func StatsCommandVG(t *icsnet.IcsTCPNet, bufend string) { break } } else { - svc := statInfos.SvcType[0:1] - seqId := s.Seq + svc + randNum - fmt.Printf("Recved Stat Command(%s) %d \n", statReads, rlen) statInfos.ChangeByteToString(statReads) + svc := statInfos.SvcType[0:1] + seqId := s.Seq + svc + randNum + insLog := "" insLog += fmt.Sprintf("seqId:%s\n", seqId) insLog += fmt.Sprintf("LogTime:%s, ", statInfos.LogTime) @@ -282,11 +282,12 @@ func StatsCommandVA(t *icsnet.IcsTCPNet, bufend string) { break } } else { - svc := statInfos.SvcType[0:1] - seqId := s.Seq + svc + randNum fmt.Printf("Recved Stat Command(%s) %d \n", statReads, rlen) statInfos.ChangeByteToString(statReads) + svc := statInfos.SvcType[0:1] + seqId := s.Seq + svc + randNum + insLog := "" insLog += fmt.Sprintf("seqId:%s", seqId) insLog += fmt.Sprintf("LogTime:%s, ", statInfos.LogTime)