Make info logs into debugs
This commit is contained in:
parent
5fe9e29ae4
commit
1dc4618994
@ -124,7 +124,7 @@ fn remove_connection_headers(headers: &mut HeaderMap) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn create_proxied_response<B>(mut response: Response<B>) -> Response<B> {
|
fn create_proxied_response<B>(mut response: Response<B>) -> Response<B> {
|
||||||
info!("Creating proxied response");
|
debug!("Creating proxied response");
|
||||||
|
|
||||||
remove_hop_headers(response.headers_mut());
|
remove_hop_headers(response.headers_mut());
|
||||||
remove_connection_headers(response.headers_mut());
|
remove_connection_headers(response.headers_mut());
|
||||||
@ -216,7 +216,7 @@ fn create_proxied_request<B>(
|
|||||||
mut request: Request<B>,
|
mut request: Request<B>,
|
||||||
upgrade_type: Option<&String>,
|
upgrade_type: Option<&String>,
|
||||||
) -> Result<Request<B>, ProxyError> {
|
) -> Result<Request<B>, ProxyError> {
|
||||||
info!("Creating proxied request");
|
debug!("Creating proxied request");
|
||||||
|
|
||||||
let contains_te_trailers_value = request
|
let contains_te_trailers_value = request
|
||||||
.headers()
|
.headers()
|
||||||
@ -293,7 +293,7 @@ pub async fn call<'a, T: Connect + Clone + Send + Sync + 'static>(
|
|||||||
mut request: Request<Incoming>,
|
mut request: Request<Incoming>,
|
||||||
client: &'a Client<T, Incoming>,
|
client: &'a Client<T, Incoming>,
|
||||||
) -> Result<Response<Incoming>, ProxyError> {
|
) -> Result<Response<Incoming>, ProxyError> {
|
||||||
info!(
|
debug!(
|
||||||
"Received proxy call from {} to {}, client: {}",
|
"Received proxy call from {} to {}, client: {}",
|
||||||
request.uri().to_string(),
|
request.uri().to_string(),
|
||||||
forward_uri,
|
forward_uri,
|
||||||
|
Loading…
Reference in New Issue
Block a user