From 66314ef0743e62bf0d1b04f5f3480387c2846045 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Thu, 26 Nov 2020 21:37:00 +0000 Subject: [PATCH] Remove pre-executing query logging --- db/executor.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/db/executor.go b/db/executor.go index 69759e24..4ba10f26 100644 --- a/db/executor.go +++ b/db/executor.go @@ -125,16 +125,6 @@ func (e *executor) conduct(ctx context.Context, stm sql.Statement) { var rsp *Response var res []interface{} - if log.IsDebug() { - log.WithPrefix(logKeySql).WithFields(map[string]interface{}{ - logKeyId: e.id, - logKeyNS: e.ns, - logKeyDB: e.db, - logKeyKind: ctx.Value(ctxKeyKind), - logKeyVars: ctx.Value(ctxKeyVars), - }).Debugln("Running", stm) - } - // If we are not inside a global transaction // then reset the error to nil so that the // next statement is not ignored.