From 5d3fb6af3af0c61fa8c29870d251f1ff91e6edf6 Mon Sep 17 00:00:00 2001 From: nai-degen Date: Wed, 9 Aug 2023 18:15:28 -0500 Subject: [PATCH] removes IP redaction from pino --- src/server.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/server.ts b/src/server.ts index 0c87243..5ac0af4 100644 --- a/src/server.ts +++ b/src/server.ts @@ -36,10 +36,6 @@ app.use( 'res.headers["set-cookie"]', "req.headers.authorization", 'req.headers["x-api-key"]', - 'req.headers["x-forwarded-for"]', - 'req.headers["x-real-ip"]', - 'req.headers["true-client-ip"]', - 'req.headers["cf-connecting-ip"]', // Don't log the prompt text on transform errors "body.messages", "body.prompt",