Always send access log to syslog if syslog is on

This commit is contained in:
Randall Leeds 2015-12-26 14:27:08 -08:00
parent d8b6f0afff
commit 2f8e7503fe

View File

@ -278,7 +278,7 @@ class Logger(object):
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
# wrap atoms: