fix: logs for ruma crate

This commit is contained in:
Timo Kösters 2021-05-24 13:21:15 +02:00
parent ceaeab6816
commit 57ecd81534
No known key found for this signature in database
GPG key ID: 24DA7517711A2BA4

View file

@ -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();