Skip to content

Commit

Permalink
Remove log. // Change next_frames(true). // info logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
meowjesty committed Oct 14, 2024
1 parent 02fe9cf commit 0cbbb7d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions mirrord/agent/src/steal/connections/filtered.rs
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,6 @@ where
unchanged: request.request,
});

tracing::warn!("The request shall pass!");

return Ok(());
};

Expand Down
6 changes: 1 addition & 5 deletions mirrord/cli/src/internal_proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,7 @@ pub(crate) async fn proxy(listen_port: u16, watch: drain::Watch) -> Result<(), I
InternalProxyError::OpenLogFile(log_destination.to_string_lossy().to_string(), fail)
})?;

let log_level = config
.internal_proxy
.log_level
.as_deref()
.unwrap_or("mirrord=info,info");
let log_level = config.internal_proxy.log_level.as_deref().unwrap_or("info");

tracing_subscriber::fmt()
.with_writer(output_file)
Expand Down
2 changes: 1 addition & 1 deletion mirrord/intproxy/src/proxies/incoming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ impl IncomingProxy {
match response
.internal_response
.body
.next_frames(false)
.next_frames(true)
.await
.map_err(InterceptorError::from)
{
Expand Down

0 comments on commit 0cbbb7d

Please sign in to comment.