removed the switch if the accesslog is not configured
Dieser Commit ist enthalten in:
Ursprung
0d4c72f7fc
Commit
1a63825ba6
|
@ -11,7 +11,7 @@ from logging.config import dictConfig, fileConfig
|
|||
from gunicorn.glogging import CONFIG_DEFAULTS
|
||||
from gunicorn.glogging import Logger as gLogger
|
||||
|
||||
__version__ = "0.0.9"
|
||||
__version__ = "0.0.10"
|
||||
|
||||
|
||||
CONFIG_DEFAULTS = {
|
||||
|
|
|
@ -65,12 +65,11 @@ class ExtendedGunicornWebWorker(GunicornWebWorker):
|
|||
)
|
||||
|
||||
if runner is None:
|
||||
access_log = self.log.access_log if self.cfg.accesslog else None
|
||||
runner = web.AppRunner(
|
||||
app,
|
||||
logger=self.log,
|
||||
keepalive_timeout=self.cfg.keepalive,
|
||||
access_log=access_log,
|
||||
access_log=self.log.access_log,
|
||||
access_log_class=self.access_log_class,
|
||||
shutdown_timeout=self.cfg.graceful_timeout / 100 * 95,
|
||||
)
|
||||
|
|
Laden…
In neuem Issue referenzieren