From d48b600239962223d3f5670f450fa345b12d238d Mon Sep 17 00:00:00 2001 From: Rudolph Froger Date: Sun, 6 May 2018 17:04:40 +0200 Subject: [PATCH] Fix AttributeError when --log-syslog is passed (#1773) Config option `disable_access_log_redirection` does not exist. This was introduced in 7dc9003dff149e29c0af4d409060d34f9a7775fa. Fixes #1768 --- gunicorn/glogging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/glogging.py b/gunicorn/glogging.py index f6793631..713b4ea0 100644 --- a/gunicorn/glogging.py +++ b/gunicorn/glogging.py @@ -340,7 +340,7 @@ class Logger(object): if not (self.cfg.accesslog or self.cfg.logconfig or self.cfg.logconfig_dict or - (self.cfg.syslog and not self.cfg.disable_access_log_redirection)): + (self.cfg.syslog and not self.cfg.disable_redirect_access_to_syslog)): return # wrap atoms: