Don’t log context auth data
This commit is contained in:
parent
b4dfaf2898
commit
87cf68b213
1 changed files with 0 additions and 1 deletions
|
@ -119,7 +119,6 @@ func (e *executor) execute(ctx context.Context, ast *sql.Query) {
|
||||||
log := log.WithPrefix("sql").WithFields(map[string]interface{}{
|
log := log.WithPrefix("sql").WithFields(map[string]interface{}{
|
||||||
"id": ctx.Value(ctxKeyId),
|
"id": ctx.Value(ctxKeyId),
|
||||||
"kind": ctx.Value(ctxKeyKind),
|
"kind": ctx.Value(ctxKeyKind),
|
||||||
"auth": ctx.Value(ctxKeyAuth),
|
|
||||||
})
|
})
|
||||||
|
|
||||||
if stm, ok := stm.(sql.AuthableStatement); ok {
|
if stm, ok := stm.(sql.AuthableStatement); ok {
|
||||||
|
|
Loading…
Reference in a new issue