mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2025-06-04 22:48:57 +00:00
Remove direct 'log' dependency
This commit is contained in:
parent
f491ef9ca3
commit
6e2e23f87f
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue