mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Always send access log to syslog if syslog is on
This commit is contained in:
parent
d8b6f0afff
commit
2f8e7503fe
@ -278,7 +278,7 @@ class Logger(object):
|
|||||||
for format details
|
for format details
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if not self.cfg.accesslog and not self.cfg.logconfig:
|
if not (self.cfg.accesslog or self.cfg.logconfig or self.cfg.syslog):
|
||||||
return
|
return
|
||||||
|
|
||||||
# wrap atoms:
|
# wrap atoms:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user