Skip to content

Commit f989884

Browse files
committed
chore(memtrack): cleanup output
1 parent 8a39cf5 commit f989884

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

crates/memtrack/src/main.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ fn track_command(
120120
.map_err(|e| anyhow!("Failed to spawn child process: {e}"))?;
121121
let root_pid = child.id() as i32;
122122
let event_rx = { tracker_arc.lock().unwrap().track(root_pid)? };
123-
info!("Spawned child with pid {root_pid}");
123+
debug!("Spawned child with pid {root_pid}");
124124

125125
// Generate output file name and create file for streaming events
126126
let file_name = MemtrackArtifact::file_name(Some(root_pid));
@@ -184,17 +184,17 @@ fn track_command(
184184

185185
// Wait for the command to complete
186186
let status = child.wait().context("Failed to wait for command")?;
187-
info!("Command exited with status: {status}");
187+
debug!("Command exited with status: {status}");
188188

189189
// Wait for drain thread to finish
190-
info!("Waiting for the drain thread to finish");
190+
debug!("Waiting for the drain thread to finish");
191191
DRAIN_EVENTS.store(false, Ordering::Relaxed);
192192
drain_thread
193193
.join()
194194
.map_err(|_| anyhow::anyhow!("Failed to join drain thread"))?;
195195

196196
// Wait for writer thread to finish and propagate errors
197-
info!("Waiting for the writer thread to finish");
197+
debug!("Waiting for the writer thread to finish");
198198
drop(write_tx);
199199
writer_thread
200200
.join()

0 commit comments

Comments
 (0)