Skip to content

Commit

Permalink
feat(integrations): hide stdout of proxy for the time being
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencaccia committed Dec 11, 2023
1 parent b025982 commit 58fee9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/integrations/mongo_tracer.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::{
path::{Path, PathBuf},
process::{Child, Command},
process::{Child, Command, Stdio},
};

use reqwest::Client;
Expand Down Expand Up @@ -97,7 +97,7 @@ impl MongoTracer {
"Proxy MongoDB from {} to {}",
proxy_host_port, destination_host_port
);
let process = command.spawn()?;
let process = command.stdout(Stdio::piped()).spawn()?;

self.process = Some(process);

Expand Down

0 comments on commit 58fee9c

Please sign in to comment.