Unverified Commit 21a57d24 authored by Dannon's avatar Dannon Committed by GitHub
Browse files

Merge pull request #18046 from mvdbeek/access_logging_middleware

[24.0] Add middleware for logging start and end of request
parents 625cd8a9 ab087383
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -62,7 +62,7 @@ jobs:
        id: minikube
        uses: CodingNagger/minikube-setup-action@v1.0.6
        with:
          k8s-version: '1.19.16'
          k8s-version: '1.23.0'
      - name: Launch Minikube
        run: eval ${{ steps.minikube.outputs.launcher }}
      - name: Check pods
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ jobs:
          path: .tox
          key: tox-cache-${{ runner.os }}-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('galaxy root/requirements.txt') }}-osx
      - name: Install miniconda  # use this job to test using Python from a conda environment
        uses: conda-incubator/setup-miniconda@v2
        uses: conda-incubator/setup-miniconda@v3
        with:
          activate-environment: ''
      - name: Restore client cache
+11 −3
Original line number Diff line number Diff line
@@ -3030,6 +3030,17 @@
:Type: bool


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``use_access_logging_middleware``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

:Description:
    Log request start as well as request end. Disables uvicorn access
    log handler.
:Default: ``false``
:Type: bool


~~~~~~~~~~~~
``use_lint``
~~~~~~~~~~~~
@@ -5477,6 +5488,3 @@
    This requires the help_forum_api_url to be set.
:Default: ``false``
:Type: bool


+4 −0
Original line number Diff line number Diff line
@@ -1743,6 +1743,10 @@ galaxy:
  # job is complete.
  #debug: false

  # Log request start as well as request end. Disables uvicorn access
  # log handler.
  #use_access_logging_middleware: false

  # Check for WSGI compliance.
  #use_lint: false

+7 −0
Original line number Diff line number Diff line
@@ -2193,6 +2193,13 @@ mapping:
          causes the files used by PBS/SGE (submission script, output, and error)
          to remain on disk after the job is complete.

      use_access_logging_middleware:
        type: bool
        default: false
        required: false
        desc: |
          Log request start as well as request end. Disables uvicorn access log handler.

      use_lint:
        type: bool
        default: false
Loading