From 8dbe397f993cb3a9c330c3d6d5a90a8695d87c67 Mon Sep 17 00:00:00 2001 From: Kai Bleeke <39027073+kbleeke@users.noreply.github.com> Date: Wed, 3 May 2023 20:15:43 +0200 Subject: [PATCH] cleanup ioctl response logging --- src/ioctl.rs | 2 +- src/runner.rs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ioctl.rs b/src/ioctl.rs index 66c6a10e5..61524c274 100644 --- a/src/ioctl.rs +++ b/src/ioctl.rs @@ -110,7 +110,7 @@ impl IoctlState { pub fn ioctl_done(&self, response: &[u8]) { if let IoctlStateInner::Sent { buf } = self.state.get() { - info!("IOCTL Response: {:02x}", Bytes(response)); + trace!("IOCTL Response: {:02x}", Bytes(response)); // TODO fix this (unsafe { &mut *buf }[..response.len()]).copy_from_slice(response); diff --git a/src/runner.rs b/src/runner.rs index 9b99e174f..56b9a609c 100644 --- a/src/runner.rs +++ b/src/runner.rs @@ -351,8 +351,6 @@ where panic!("IOCTL error {}", cdc_header.status as i32); } - info!("IOCTL Response: {:02x}", Bytes(response)); - self.ioctl_state.ioctl_done(response); } }