From 5ee2ede35ceb0d74329a0ce55e1112ece0513e3f Mon Sep 17 00:00:00 2001 From: Fotis Gimian Date: Thu, 24 May 2018 14:58:27 +1000 Subject: [PATCH] Ensured that default logging streams are prefixed with ext:// so they work correctly --- gunicorn/glogging.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn/glogging.py b/gunicorn/glogging.py index 95cff4e4..041a74d5 100644 --- a/gunicorn/glogging.py +++ b/gunicorn/glogging.py @@ -74,12 +74,12 @@ CONFIG_DEFAULTS = dict( "console": { "class": "logging.StreamHandler", "formatter": "generic", - "stream": "sys.stdout" + "stream": "ext://sys.stdout" }, "error_console": { "class": "logging.StreamHandler", "formatter": "generic", - "stream": "sys.stderr" + "stream": "ext://sys.stderr" }, }, formatters={