diff --git a/packages/core/src/game/metadata.rs b/packages/core/src/game/metadata.rs index c0d750e8..6ebab90a 100644 --- a/packages/core/src/game/metadata.rs +++ b/packages/core/src/game/metadata.rs @@ -265,7 +265,6 @@ pub async fn download_libraries( artifact: Some(ref artifact), .. }) = lib.downloads { if !artifact.url.is_empty() { - tracing::info!("fetching library '{}' from '{}'", &lib.name, &artifact.url); let bytes = fetch(&artifact.url, Some(&artifact.sha1), &st.fetch_semaphore).await?; write(&path, &bytes, &st.io_semaphore).await?; tracing::trace!("fetched library {} to path {:?}", &lib.name, &path); @@ -273,7 +272,6 @@ pub async fn download_libraries( } } - tracing::info!("fetching #2 library '{}' from '{}'", &lib.name, &artifact.url); let url = [lib.url.as_deref().unwrap_or("https://libraries.minecraft.net/"), &artifact_path].concat(); let bytes = fetch(&url, None, &st.fetch_semaphore).await?; write(&path, &bytes, &st.io_semaphore).await?; diff --git a/packages/core/src/logger.rs b/packages/core/src/logger.rs index c29808b3..742a37ca 100644 --- a/packages/core/src/logger.rs +++ b/packages/core/src/logger.rs @@ -28,7 +28,7 @@ pub fn start_logger() -> Option { }); let subscriber = tracing_subscriber::registry() - .with(tracing_subscriber::fmt::layer().pretty()) + .with(tracing_subscriber::fmt::layer()) .with(filter) .with(tracing_error::ErrorLayer::default()); @@ -59,7 +59,6 @@ pub fn start_logger() -> Option { let (non_blocking, guard) = tracing_appender::non_blocking(file_appender); let subscriber = tracing_subscriber::registry() - .with(tracing_subscriber::fmt::layer().pretty()) .with( tracing_subscriber::fmt::layer() .with_writer(non_blocking) diff --git a/packages/core/src/utils/http.rs b/packages/core/src/utils/http.rs index 9a6ef546..280c4aa6 100644 --- a/packages/core/src/utils/http.rs +++ b/packages/core/src/utils/http.rs @@ -106,8 +106,6 @@ pub async fn fetch_advanced( match result { Ok(x) => { - let x = x.error_for_status()?; - let bytes = if let Some((feed, total)) = &ingress { let length = x.content_length(); if let Some(total_size) = length {