diff --git a/src/agent/onefuzz-agent/src/tasks/generic/input_poller.rs b/src/agent/onefuzz-agent/src/tasks/generic/input_poller.rs index 3361cce29..bfbd4edb4 100644 --- a/src/agent/onefuzz-agent/src/tasks/generic/input_poller.rs +++ b/src/agent/onefuzz-agent/src/tasks/generic/input_poller.rs @@ -128,10 +128,8 @@ impl InputPoller { let mut read_dir = fs::read_dir(&to_process.path).await?; while let Some(file) = read_dir.next().await { - info!("Processing batch-downloaded input {:?}", file); - - let file = file?; - let path = file.path(); + let path = file?.path(); + info!("Processing batch-downloaded input: {}", path.display()); // Compute the file name relative to the synced directory, and thus the // container. @@ -182,7 +180,7 @@ impl InputPoller { delay_with_jitter(POLL_INTERVAL).await; } State::Downloaded(_msg, _url, input, _tempdir) => { - info!("Processing downloaded input: {:?}", input); + info!("Processing downloaded input: {}", input.display()); } _ => {} }