fix access_log in run server and fix bool in env variables

This commit is contained in:
Sergey Fedoruk
2018-12-30 19:37:30 +01:00
committed by Sergey Fedoruk
parent d76d5e2c5f
commit 391fcdc83d
10 changed files with 143 additions and 78 deletions

View File

@@ -58,9 +58,6 @@ class GunicornWorker(base.Worker):
else self.http_protocol
)
# set ACCESS_LOG on base of logging level
self.app.callable.config.ACCESS_LOG = self.log.loglevel <= logging.INFO
self._server_settings = self.app.callable._helper(
loop=self.loop,
debug=is_debug,