From 30a1d362b9127d72bc6f4f88f70216caa065d7a9 Mon Sep 17 00:00:00 2001 From: Blair Noctis <4474501+bnoctis@users.noreply.github.com> Date: Fri, 10 Mar 2023 17:34:48 +0800 Subject: [PATCH] fix: lower default logging level for statements to Debug --- sqlx-core/src/connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-core/src/connection.rs b/sqlx-core/src/connection.rs index dfafda686c..f254344a27 100644 --- a/sqlx-core/src/connection.rs +++ b/sqlx-core/src/connection.rs @@ -166,7 +166,7 @@ pub struct LogSettings { impl Default for LogSettings { fn default() -> Self { LogSettings { - statements_level: LevelFilter::Info, + statements_level: LevelFilter::Debug, slow_statements_level: LevelFilter::Warn, slow_statements_duration: Duration::from_secs(1), }