Skip to content

Commit

Permalink
fix vtgate query log sending to file
Browse files Browse the repository at this point in the history
Signed-off-by: Vilius Okockis <[email protected]>
  • Loading branch information
DeathBorn committed Apr 23, 2024
1 parent a1f1266 commit 7fb0f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtgate/logstats.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 7fb0f1b

Please sign in to comment.