From cb5f4d85348ffa8935318324e39dfa389f609e27 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 23 Dec 2022 23:45:55 +0200 Subject: [PATCH] more prominent warnings --- gunicorn.conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index 81b960537..39c57ff91 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("-------------------------------------------------") 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("-------------------------------------------------") else: worker.log.warning("No request info") except: