mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 17:38:10 +00:00
ignore sqlx logging
This commit is contained in:
1 parent
40f403be69
commit
f536ce02cf
2 files changed
+5
-2
No files matched your search
+3
-1
@@ -42,7 +42,9 @@ use sqlx::mysql::MySqlPoolOptions;
|
||||
use std::sync::Arc;
|
||||
|
||||
const DEFAULT_BIND_ADDRESS : &'static str = "0.0.0.0:12345";
|
||||
const DEFAULT_RUST_LOG: &'static str = "debug,actix_web=info";
|
||||
|
||||
// NB: sqlx::query is spammy and logs all queries as "info"-level
|
||||
const DEFAULT_RUST_LOG: &'static str = "debug,actix_web=info,sqlx::query=warn";
|
||||
|
||||
pub type AnyhowResult<T> = anyhow::Result<T>;
|
||||
|
||||
|
||||
@@ -43,7 +43,8 @@ const ENV_REGION_NAME : &'static str = "REGION_NAME";
|
||||
const ENV_BUCKET_NAME : &'static str = "TTS_DOWNLOAD_BUCKET_NAME";
|
||||
const ENV_BUCKET_ROOT : &'static str = "TTS_DOWNLOAD_BUCKET_ROOT";
|
||||
|
||||
const DEFAULT_RUST_LOG: &'static str = "debug,actix_web=info";
|
||||
// NB: sqlx::query is spammy and logs all queries as "info"-level
|
||||
const DEFAULT_RUST_LOG: &'static str = "debug,actix_web=info,sqlx::query=warn";
|
||||
const DEFAULT_TEMP_DIR: &'static str = "/tmp";
|
||||
|
||||
struct Downloader {
|
||||
|
||||
Reference in new issue
Block a user