mirror of
https://github.com/LukeMathWalker/zero-to-production.git
synced 2024-12-04 15:16:31 +00:00
Remove direct 'log' dependency
This commit is contained in:
parent
6af1b8572c
commit
bd94a6c822
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