From 38c4447da80bb4a46d78fa61c58074c51d3ec3a9 Mon Sep 17 00:00:00 2001 From: minish Date: Sat, 25 May 2024 01:27:14 -0400 Subject: [PATCH] lower some logs --- src/engine.rs | 4 ++-- src/view.rs | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/engine.rs b/src/engine.rs index 3fb3c2a..9aff250 100644 --- a/src/engine.rs +++ b/src/engine.rs @@ -208,7 +208,7 @@ impl Engine { // if we have an i/o task, send it off // also cloning this is okay because it's a Bytes if !coalesce_and_strip { - info!("sending chunk to i/o task"); + debug!("sending chunk to i/o task"); tx.map(|tx| tx.send(chunk.clone())); } @@ -240,7 +240,7 @@ impl Engine { img.encoder().bytes() }) }) { - info!("stripped exif data"); + debug!("stripped exif data"); data } else { data diff --git a/src/view.rs b/src/view.rs index 36ebe3c..df6cd02 100644 --- a/src/view.rs +++ b/src/view.rs @@ -10,7 +10,6 @@ use axum::{ use hyper::{http::HeaderValue, StatusCode}; use tokio_util::io::ReaderStream; -use tracing::info; use crate::engine::UploadData;