From 430b607be6d2798a00edaedc37e3fe9bcaed4d64 Mon Sep 17 00:00:00 2001 From: Anna Khanova Date: Tue, 5 Mar 2024 12:35:41 +0100 Subject: [PATCH] Test logging --- proxy/src/console/provider/neon.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxy/src/console/provider/neon.rs b/proxy/src/console/provider/neon.rs index 71b34cb676..7416156223 100644 --- a/proxy/src/console/provider/neon.rs +++ b/proxy/src/console/provider/neon.rs @@ -134,7 +134,9 @@ impl Api { let start = Instant::now(); let response = self.endpoint.execute(request).await?; info!(duration = ?start.elapsed(), "received http response"); + info!(response = ?response, "this is response"); let body = parse_body::(response).await?; + info!(body = ?body, "parsed response body"); // Unfortunately, ownership won't let us use `Option::ok_or` here. let (host, port) = match parse_host_port(&body.address) {