Refine logging level of some statements

This commit is contained in:
Taras Kushnir
2025-09-12 21:45:05 +03:00
parent 64925cd156
commit 0dd2af6376
9 changed files with 41 additions and 41 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ func (tracer *myQueryTracer) TraceQueryEnd(ctx context.Context, conn *pgx.Conn,
if !ok {
t = time.Now()
}
slog.DebugContext(ctx, "SQL command finished", "source", "postgres", "duration", time.Since(t).Milliseconds())
slog.Log(ctx, common.LevelTrace, "SQL command finished", "source", "postgres", "duration", time.Since(t).Milliseconds())
}
}