From 2f8e7503fed67dcf717017b012faabc36b46da52 Mon Sep 17 00:00:00 2001 From: Randall Leeds Date: Sat, 26 Dec 2015 14:27:08 -0800 Subject: [PATCH] Always send access log to syslog if syslog is on --- gunicorn/glogging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/glogging.py b/gunicorn/glogging.py index 018e7eca..70daf079 100644 --- a/gunicorn/glogging.py +++ b/gunicorn/glogging.py @@ -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: