From 768e8a36d0588383d851fd92a7f2167205032969 Mon Sep 17 00:00:00 2001 From: "vladyslav.zhytnyk" Date: Tue, 8 Oct 2024 22:52:39 +0300 Subject: [PATCH] FR-17841 - remove logger for headers --- packages/nextjs/src/middleware/ProxyRequestCallback.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/nextjs/src/middleware/ProxyRequestCallback.ts b/packages/nextjs/src/middleware/ProxyRequestCallback.ts index fa3646e3..3e677a01 100644 --- a/packages/nextjs/src/middleware/ProxyRequestCallback.ts +++ b/packages/nextjs/src/middleware/ProxyRequestCallback.ts @@ -63,8 +63,6 @@ const ProxyRequestCallback: ProxyReqCallback = (p 'cache-control', ].map((header) => proxyReq.removeHeader(header)); - logger.debug(`${req.url} | headers to be sent:`, proxyReq.getHeaders()); - logger.debug(`${req.url} | check if request has body`); if (req.method !== 'GET' && req.body) { logger.debug(`${req.url} | writing request body to proxyReq`);