Skip to content

Commit

Permalink
add some trace logging #25
Browse files Browse the repository at this point in the history
log the base and request URI passed to the container
  • Loading branch information
bbilger committed Feb 11, 2017
1 parent 813aa7e commit 9f6ed24
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ protected JRestlessContainerRequest createContainerRequest(GatewayRequestAndLamb
entityStream = new ByteArrayInputStream(new byte[0]);
}
RequestAndBaseUri requestAndBaseUri = getRequestAndBaseUri(requestAndLambdaContext);
LOG.trace("passing baseUri='{}' and requestUri='{}' to the container", requestAndBaseUri.getBaseUri(),
requestAndBaseUri.getRequestUri());
return new DefaultJRestlessContainerRequest(requestAndBaseUri, request.getHttpMethod(), entityStream,
HeaderUtils.expandHeaders(request.getHeaders()));
}
Expand Down

0 comments on commit 9f6ed24

Please sign in to comment.