Skip to content

Commit

Permalink
Merge pull request #14467 from natefoo/disable-translogger
Browse files Browse the repository at this point in the history
[22.05] Disable translogger middleware by default
  • Loading branch information
mvdbeek authored Aug 17, 2022
2 parents 961472c + d1b3734 commit 1b1d015
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions lib/galaxy/config/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@
"level": "INFO",
"qualname": "botocore",
},
"gunicorn.access": {
"level": "INFO",
"qualname": "gunicorn.access",
"propagate": False,
"handlers": ["console"],
},
},
"filters": {
"stack": {
Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/buildapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1b1d015

Please sign in to comment.