Skip to content

Commit

Permalink
fix(http server): add log for the http request (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasad1 authored Aug 16, 2022
1 parent a229459 commit 04a695a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions http-server/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@ impl<L: Logger> hyper::service::Service<hyper::Request<hyper::Body>> for TowerSe
}

fn call(&mut self, request: hyper::Request<hyper::Body>) -> Self::Future {
tracing::trace!("{:?}", request);
let data = self.inner.clone();
Box::pin(data.handle_request(request).map(Ok))
}
Expand Down

0 comments on commit 04a695a

Please sign in to comment.