From b85744d1207fcf45bfe111a6076b9d5f777ab275 Mon Sep 17 00:00:00 2001 From: Matthew Jackson <1085847+MattJackson@users.noreply.github.com> Date: Mon, 22 Jun 2026 21:39:27 -0700 Subject: [PATCH] Demote per-read Drive::read trace event to TRACE Drive::read fires hundreds of thousands of times per rip. Logging its entry at DEBUG floods a diagnostic log and buries the events that actually matter. Move it to TRACE so a level-3 (debug) bug-report log stays readable; level-4 (trace) still captures it for deep dives. --- src/drive/mod.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/drive/mod.rs b/src/drive/mod.rs index b788388..f0fd8d1 100644 --- a/src/drive/mod.rs +++ b/src/drive/mod.rs @@ -622,7 +622,9 @@ impl Drive { } else { crate::scsi::READ_TIMEOUT_MS }; - tracing::debug!( + // TRACE, not DEBUG: this fires on every read (hundreds of thousands per + // rip). At DEBUG it floods a bug-report log and buries the real events. + tracing::trace!( target: "freemkv::drive", lba, count,