Skip to content

Commit

Permalink
log headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Grekkq committed Oct 17, 2023
1 parent a94a6c5 commit ee25c33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ trait RequestHandlerS3 extends S3Client with UserRequestQueue {
logger.info(s"Request sent to backend storage: method: {} uri: {}, {}", request.method.value, request.uri.toString(), request)
Http()
.singleRequest(request)
.andThen { case Success(r) => logger.info(s"Received response from backend storage: {}", r.status) }
.andThen { case Success(r) => logger.info(s"Received response from backend storage: {} {}", r.status, r.headers) }
.map(r => r.withEntity(r.entity.withoutSizeLimit()))
}

Expand Down

0 comments on commit ee25c33

Please sign in to comment.