Fix access logs not emitted when using logconfig_dict

Fixes #1652
This commit is contained in:
Nicolas Le Manchet 2017-12-01 10:35:34 +01:00 committed by Berker Peksag
parent 6ba2ebe545
commit ad44552a03

View File

@ -339,6 +339,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)):
return