From 7fb0f1b2c2ab8a677add13d7f666bc013ac05b96 Mon Sep 17 00:00:00 2001 From: Vilius Okockis Date: Tue, 23 Apr 2024 16:14:47 +0300 Subject: [PATCH] fix vtgate query log sending to file Signed-off-by: Vilius Okockis --- go/vt/vtgate/logstats.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vtgate/logstats.go b/go/vt/vtgate/logstats.go index fb179126b6f..2c27b5138cc 100644 --- a/go/vt/vtgate/logstats.go +++ b/go/vt/vtgate/logstats.go @@ -69,7 +69,7 @@ func NewLogStats(ctx context.Context, methodName, sql, sessionUUID string, bindV // Send finalizes a record and sends it func (stats *LogStats) Send() { stats.EndTime = time.Now() - // QueryLogger.Send(stats) + QueryLogger.Send(stats) } // Context returns the context used by LogStats.