Skip to content

Commit

Permalink
feat: add query string
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-richards committed Nov 4, 2024
1 parent 79fcaca commit 5ae76c7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dev/build/gunicorn.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,8 @@ def pre_request(worker, req):
client_ip = value
elif header == "cf-ray":
cf_ray = value
worker.log.info(f"gunicorn starting to process {req.method} {req.path} (client_ip={client_ip}, cf_ray={cf_ray})")
if req.query:
path = f"{req.path}?{req.query}"
else:
path = req.path
worker.log.info(f"gunicorn starting to process {req.method} {path} (client_ip={client_ip}, cf_ray={cf_ray})")

0 comments on commit 5ae76c7

Please sign in to comment.