From f00e0683d7a23af945c3377e18b0db7e6116699c Mon Sep 17 00:00:00 2001 From: Mick Grove Date: Tue, 29 Jul 2025 10:25:58 -0700 Subject: [PATCH] Removed println statements used for debugging --- src/decompress.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/decompress.rs b/src/decompress.rs index f91c8fa..49dc7ef 100644 --- a/src/decompress.rs +++ b/src/decompress.rs @@ -135,24 +135,24 @@ fn handle_zip_archive_streaming( let out_path = base_dir.join(&name_in_zip); if let Some(parent) = out_path.parent() { if let Err(e) = fs::create_dir_all(parent) { - println!("****************failed to create directory {}: {}", parent.display(), e); + tracing::debug!("failed to create directory {}: {}", parent.display(), e); continue; } } if !is_safe_extract_path(&out_path) { - println!("****************unsafe zip path: {}", out_path.display()); + tracing::warn!("unsafe zip path: {}", out_path.display()); continue; } match fs::File::create(&out_path) { Ok(mut out_file) => { if let Err(e) = std::io::copy(&mut zipped_file, &mut out_file) { - println!("****************failed to extract {}: {}", out_path.display(), e); + tracing::debug!("failed to extract {}: {}", out_path.display(), e); continue; } entries_on_disk.push((logical_path, out_path)); } Err(e) => { - println!("****************failed to create file {}: {}", out_path.display(), e); + tracing::debug!("failed to create file {}: {}", out_path.display(), e); continue; } }