diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-06-02 17:59:29 +0200 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2022-06-02 17:59:29 +0200 |
commit | 3cb7c65b70250a6a7837291386d0f7f9ebd43ec6 (patch) | |
tree | 8745daa1b1ff2e677e56e649fab8f85a46b12828 /src/main.rs | |
parent | deced08513e9971eeb4165a5c27139e4d9a8daf3 (diff) | |
download | aerogramme-3cb7c65b70250a6a7837291386d0f7f9ebd43ec6.tar.gz aerogramme-3cb7c65b70250a6a7837291386d0f7f9ebd43ec6.zip |
Working server
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index ada94fc..3c2ef7f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -111,9 +111,10 @@ struct UserSecretsArgs { #[tokio::main] async fn main() -> Result<()> { if std::env::var("RUST_LOG").is_err() { - std::env::set_var("RUST_LOG", "mailrage=info,k2v_client=info") + std::env::set_var("RUST_LOG", "main=info,mailrage=info,k2v_client=info") } - pretty_env_logger::init(); + + tracing_subscriber::fmt::init(); let args = Args::parse(); |