Skip to content

Commit

Permalink
Logging improvements (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgb authored Apr 23, 2024
1 parent 69bf593 commit c57c6f9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions plane/src/proxy/proxy_connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,6 @@ impl ProxyConnection {
cert_manager.receive(response);
}
MessageToProxy::BackendRemoved { backend } => {
tracing::info!(
backend = backend.as_value(),
"Received backend removed message."
);
state.route_map.remove_backend(&backend);
}
}
Expand Down
2 changes: 1 addition & 1 deletion plane/src/proxy/rewriter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ impl RequestRewriter {
let bearer_token = match extract_bearer_token(&mut uri_parts) {
Some(bearer_token) => bearer_token,
None => {
tracing::warn!("Bearer token not found in URI.");
tracing::warn!(uri=?parts.uri, "Bearer token not found in URI.");
return None;
}
};
Expand Down

0 comments on commit c57c6f9

Please sign in to comment.