diff --git a/src/main.rs b/src/main.rs index 7257d698d93f2dd8e4fb92925741164efa7c61a2..fc61a0b017567979d1cc81af8887db1dc580e8c3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -212,8 +212,8 @@ async fn main() { let rocket = setup_rocket(raw_config, db); rocket.launch().await.unwrap(); } else { - std::env::set_var("CONDUIT_LOG", config.log); - pretty_env_logger::init_custom_env("CONDUIT_LOG"); + std::env::set_var("RUST_LOG", config.log); + tracing_subscriber::fmt::init(); let rocket = setup_rocket(raw_config, db); rocket.launch().await.unwrap();