Downgrade sql statements to trace

This commit is contained in:
Edward Shen 2021-04-22 13:20:45 -04:00
parent 6fda24186b
commit 7e4c54867e
Signed by: edward
GPG key ID: 19182661E818369F

View file

@ -39,7 +39,7 @@ impl LowMemCache {
let mut options = SqliteConnectOptions::from_str(&db_url) let mut options = SqliteConnectOptions::from_str(&db_url)
.unwrap() .unwrap()
.create_if_missing(true); .create_if_missing(true);
options.log_statements(LevelFilter::Debug); options.log_statements(LevelFilter::Trace);
let db = SqlitePool::connect_with(options).await.unwrap(); let db = SqlitePool::connect_with(options).await.unwrap();
// Run db init // Run db init