mirror of
https://github.com/PrivateCaptcha/PrivateCaptcha.git
synced 2026-05-04 03:50:45 -05:00
Refine logging level of some statements
This commit is contained in:
+1
-1
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user