fix
This commit is contained in:
parent
d0a7e7ec88
commit
761288fb81
|
@ -54,7 +54,8 @@ pub async fn run(config: Config) -> Result<RunningServer> {
|
|||
pub fn setup_tracing() {
|
||||
use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
|
||||
|
||||
let log_filter = std::env::var("WARTHUNDER_LOG").unwrap_or_else(|_| "warthunder_leak_counter=debug,warn".into());
|
||||
let log_filter = std::env::var("WARTHUNDER_LOG")
|
||||
.unwrap_or_else(|_| "warthunder_leak_counter=debug,warn".into());
|
||||
|
||||
eprintln!("RUST_LOG: {log_filter}");
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use std::{str::FromStr};
|
||||
use std::str::FromStr;
|
||||
|
||||
use super::Source;
|
||||
use anyhow::{bail, Context, Result};
|
||||
|
|
Loading…
Reference in a new issue