mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-01-28 19:55:58 +03:00
fix: logs for ruma crate
This commit is contained in:
parent
ceaeab6816
commit
57ecd81534
1 changed files with 2 additions and 2 deletions
|
@ -212,8 +212,8 @@ async fn main() {
|
||||||
let rocket = setup_rocket(raw_config, db);
|
let rocket = setup_rocket(raw_config, db);
|
||||||
rocket.launch().await.unwrap();
|
rocket.launch().await.unwrap();
|
||||||
} else {
|
} else {
|
||||||
std::env::set_var("CONDUIT_LOG", config.log);
|
std::env::set_var("RUST_LOG", config.log);
|
||||||
pretty_env_logger::init_custom_env("CONDUIT_LOG");
|
tracing_subscriber::fmt::init();
|
||||||
|
|
||||||
let rocket = setup_rocket(raw_config, db);
|
let rocket = setup_rocket(raw_config, db);
|
||||||
rocket.launch().await.unwrap();
|
rocket.launch().await.unwrap();
|
||||||
|
|
Loading…
Reference in a new issue