mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #14467 from natefoo/disable-translogger
[22.05] Disable translogger middleware by default
This commit is contained in:
@@ -99,6 +99,12 @@ LOGGING_CONFIG_DEFAULT: Dict[str, Any] = {
|
||||
"level": "INFO",
|
||||
"qualname": "botocore",
|
||||
},
|
||||
"gunicorn.access": {
|
||||
"level": "INFO",
|
||||
"qualname": "gunicorn.access",
|
||||
"propagate": False,
|
||||
"handlers": ["console"],
|
||||
},
|
||||
},
|
||||
"filters": {
|
||||
"stack": {
|
||||
|
||||
@@ -1390,7 +1390,7 @@ def wrap_in_middleware(app, global_conf, application_stack, **local_conf):
|
||||
# Error middleware
|
||||
app = wrap_if_allowed(app, stack, ErrorMiddleware, args=(conf,))
|
||||
# Transaction logging (apache access.log style)
|
||||
if asbool(conf.get("use_translogger", True)):
|
||||
if asbool(conf.get("use_translogger", False)):
|
||||
from galaxy.web.framework.middleware.translogger import TransLogger
|
||||
|
||||
app = wrap_if_allowed(app, stack, TransLogger)
|
||||
|
||||
Reference in New Issue
Block a user