mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Fix AttributeError when --log-syslog is passed (#1773)
Config option `disable_access_log_redirection` does not exist. This was introduced in 7dc9003dff149e29c0af4d409060d34f9a7775fa. Fixes #1768
This commit is contained in:
parent
e73ca252f7
commit
d48b600239
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user