diff options
Diffstat (limited to 'internal/db/bundb/bundb.go')
-rw-r--r-- | internal/db/bundb/bundb.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/db/bundb/bundb.go b/internal/db/bundb/bundb.go index ebdbc4ba2..5ccca0629 100644 --- a/internal/db/bundb/bundb.go +++ b/internal/db/bundb/bundb.go @@ -137,8 +137,8 @@ func NewBunDBService(ctx context.Context) (db.DB, error) { } // add a hook to just log queries and the time they take - // only do this for trace logging where performance isn't 1st concern - if logrus.GetLevel() >= logrus.TraceLevel { + // only do this for logging where performance isn't 1st concern + if logrus.GetLevel() >= logrus.DebugLevel { conn.DB.AddQueryHook(newDebugQueryHook()) } |