fix: hide sqlx queries
args are hidden anyway and they are quite unreadable
This commit is contained in:
parent
65cd8e8070
commit
69c06d4a9c
1 changed files with 1 additions and 0 deletions
|
@ -61,6 +61,7 @@ async fn main() {
|
|||
tracing_subscriber::fmt()
|
||||
.compact()
|
||||
.with_max_level(if args.debug { tracing::Level::DEBUG } else { tracing::Level::INFO })
|
||||
.with(tracing_subscriber::filter::filter_fn(|x| args.debug || x.target() != "sqlx::query"))
|
||||
.init();
|
||||
|
||||
let mut opts = ConnectOptions::new(&args.database);
|
||||
|
|
Loading…
Reference in a new issue