From 444f78b197f4e31de142b3c35cf4992fb5b5fc62 Mon Sep 17 00:00:00 2001 From: Samet Demir Date: Tue, 9 Jan 2024 16:04:12 +0000 Subject: [PATCH] ip fix for auth log --- aviso-server/auth/aviso_auth/frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aviso-server/auth/aviso_auth/frontend.py b/aviso-server/auth/aviso_auth/frontend.py index 9a08473..3657bec 100644 --- a/aviso-server/auth/aviso_auth/frontend.py +++ b/aviso-server/auth/aviso_auth/frontend.py @@ -110,7 +110,7 @@ def index(): @handler.route(self.config.backend["route"], methods=["POST"]) def root(): - logger.info(f"New request received from {request.remote_addr}, content: {request.data}") + logger.info(f"New request received from {request.headers.get('X-Forwarded-For')}, content: {request.data}") resp_content = timed_process_request()