From ee25c33979f02c6162abdd7030debe41b5c90efc Mon Sep 17 00:00:00 2001 From: Grzegorz Zagata Date: Tue, 17 Oct 2023 12:11:24 +0200 Subject: [PATCH] log headers --- .../com/ing/wbaa/rokku/proxy/handler/RequestHandlerS3.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/ing/wbaa/rokku/proxy/handler/RequestHandlerS3.scala b/src/main/scala/com/ing/wbaa/rokku/proxy/handler/RequestHandlerS3.scala index cf2ca9b5..ea5eb76a 100644 --- a/src/main/scala/com/ing/wbaa/rokku/proxy/handler/RequestHandlerS3.scala +++ b/src/main/scala/com/ing/wbaa/rokku/proxy/handler/RequestHandlerS3.scala @@ -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())) }