From ac0b1d8482b69dc4041a9b5526c88a3397f36fb4 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Thu, 17 Nov 2022 10:41:56 -0600 Subject: [PATCH] show url and method again --- gunicorn.conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index f64fa8e73..81b9e8819 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -11,10 +11,10 @@ reload_engine = 'poll' def worker_abort(worker): worker.log.warning(f"Worker {worker.pid} received SIGABRT.") - try: from flask import g, request if g and request: + worker.log.warning(f"While serving {request.method} {request.url}") u = getattr(g, 'v', None) if u: worker.log.warning(f"User: {u.username!r} id:{u.id}")