From 6933adb1853d350668f19bd0bdb610a58c2910a4 Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 1 Jan 2023 02:32:11 +0200 Subject: [PATCH] make warnings more prominent --- gunicorn.conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index 81b960537..3e83dd1fe 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -14,14 +14,14 @@ def worker_abort(worker): try: from flask import g, request if g and request: - worker.log.warning(f"\n") + worker.log.warning(f"\n★★★★★★★★★★★★★★★★★★★★★★★★\n") 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}") else: worker.log.warning(f"User: not logged in") - worker.log.warning(f"\n") + worker.log.warning(f"\n★★★★★★★★★★★★★★★★★★★★★★★★\n") else: worker.log.warning("No request info") except: