Skip to content

Commit

Permalink
header logging;
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpricethesecond committed Sep 13, 2024
1 parent c04e6c7 commit 423ce64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}')

Expand Down

0 comments on commit 423ce64

Please sign in to comment.