From 10c1b901902aafd66419d0f64b4a724403193f5a Mon Sep 17 00:00:00 2001 From: Rongjian Lan Date: Tue, 26 Jun 2018 20:45:09 -0700 Subject: [PATCH] Make tx generator log timeout message to file --- aws-code/transaction_generator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-code/transaction_generator.go b/aws-code/transaction_generator.go index a680d71e5..4f6a3e5cd 100644 --- a/aws-code/transaction_generator.go +++ b/aws-code/transaction_generator.go @@ -222,7 +222,7 @@ func main() { for true { t := time.Now() if t.Sub(start).Seconds() >= totalTime { - fmt.Println(int(t.Sub(start)), start, totalTime) + log.Debug("TIME OUT", "duration", (int(t.Sub(start))), "startTime", start, "totalTime", totalTime) break }