diff --git a/backend/src/main.rs b/backend/src/main.rs index f3f6f8c..9edeb95 100644 --- a/backend/src/main.rs +++ b/backend/src/main.rs @@ -332,7 +332,10 @@ struct TeamRecord { async fn main() -> Result<(), Box> { load_root_env(); tracing_subscriber::fmt() - .with_env_filter(tracing_subscriber::EnvFilter::from_default_env()) + .with_env_filter( + tracing_subscriber::EnvFilter::try_from_default_env() + .unwrap_or_else(|_| tracing_subscriber::EnvFilter::new("info")), + ) .init(); let host = env_ip("BACKEND_HOST").unwrap_or(IpAddr::V4(Ipv4Addr::LOCALHOST));