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.
This commit is contained in:
Matthew Jackson
2026-06-22 21:39:27 -07:00
parent 633a22c6bd
commit b85744d120
+3 -1
View File
@@ -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,