Skip to content

Commit

Permalink
Refactor log statements in proxy.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
arloor committed Sep 27, 2024
1 parent 116fedf commit e4a064c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust_http_proxy/src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use hyper::{
use hyper_util::client::legacy::{self, connect::HttpConnector};
use hyper_util::rt::TokioExecutor;
use hyper_util::rt::TokioIo;
use log::{debug, info, warn};
use log::{info, trace, warn};
use percent_encoding::percent_decode_str;
use prom_label::Label;
use prometheus_client::{
Expand Down Expand Up @@ -92,7 +92,7 @@ impl ProxyHandler {
}
redirect_bachpaths.sort_by(|a, b| a.redirect_url.cmp(&b.redirect_url).reverse());
for ele in redirect_bachpaths.iter() {
debug!("find redirect back path for: {}**", ele.redirect_url);
trace!("find redirect back path for: {}**", ele.redirect_url);
}

#[cfg(target_os = "linux")]
Expand Down

0 comments on commit e4a064c

Please sign in to comment.