aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-06-02 17:59:29 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-06-02 17:59:29 +0200
commit3cb7c65b70250a6a7837291386d0f7f9ebd43ec6 (patch)
tree8745daa1b1ff2e677e56e649fab8f85a46b12828 /src/main.rs
parentdeced08513e9971eeb4165a5c27139e4d9a8daf3 (diff)
downloadaerogramme-3cb7c65b70250a6a7837291386d0f7f9ebd43ec6.tar.gz
aerogramme-3cb7c65b70250a6a7837291386d0f7f9ebd43ec6.zip
Working server
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs5
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();