From 0168ad31bcb4d44ecc6f62c90105b5cee0f02404 Mon Sep 17 00:00:00 2001 From: Luca Palmieri Date: Sun, 2 Jan 2022 16:50:14 +0100 Subject: [PATCH] Remove direct 'log' dependency --- src/configuration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configuration.rs b/src/configuration.rs index 1afa363..0576dbc 100644 --- a/src/configuration.rs +++ b/src/configuration.rs @@ -48,7 +48,7 @@ impl DatabaseSettings { pub fn with_db(&self) -> PgConnectOptions { let mut options = self.without_db().database(&self.database_name); - options.log_statements(log::LevelFilter::Trace); + options.log_statements(tracing::log::LevelFilter::Trace); options } }