From 423ce644f11e98c02940d9d29f815d28d8cc0a65 Mon Sep 17 00:00:00 2001 From: kevinpricethesecond Date: Fri, 13 Sep 2024 13:28:21 -0500 Subject: [PATCH] header logging; --- service/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/service/api.py b/service/api.py index 2680551..f8f6239 100644 --- a/service/api.py +++ b/service/api.py @@ -50,6 +50,7 @@ def __init__(self, url_map, *items): def log_before(): logger.info('\n========== Received new request ==========') logger.info(f'{request}\n') + logger.info(f'\n{request.headers}') if request.json: logger.info(f'json:: {request.json}')