Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[24.0] Add middleware for logging start and end of request #18046

Merged
merged 3 commits into from
Apr 24, 2024

Commits on Apr 24, 2024

  1. Log start and end of request

    Configurable via `use_access_logging_middleware`.
    Looks like this:
    
    ```
    galaxy.webapps.base.api DEBUG 2024-04-23 17:14:43,776 [pN:main,p:73562,tN:MainThread] GET /history/current_history_json?since=2024-04-22T17:24:13.936493 f8c75e2c-30eb-4fcb-9b96-25bd4b2df435
    galaxy.webapps.base.api DEBUG 2024-04-23 17:14:48,719 [pN:main,p:73562,tN:MainThread] GET /history/current_history_json?since=2024-04-22T17:24:13.936493 f8c75e2c-30eb-4fcb-9b96-25bd4b2df435 200
    galaxy.webapps.base.api DEBUG 2024-04-23 17:14:51,767 [pN:main,p:73562,tN:MainThread] GET /history/current_history_json?since=2024-04-22T17:24:13.936493 2fe6094c-67bb-4144-a19f-cbb4a1b18fb4
    galaxy.webapps.base.api DEBUG 2024-04-23 17:14:51,786 [pN:main,p:73562,tN:MainThread] GET /history/current_history_json?since=2024-04-22T17:24:13.936493 2fe6094c-67bb-4144-a19f-cbb4a1b18fb4 200
    galaxy.webapps.base.api DEBUG 2024-04-23 17:14:53,139 [pN:main,p:73562,tN:MainThread] GET /api/entry_points?running=true 763693e9-4fd3-4a97-a100-a3c259b4b4c8
    ```
    mvdbeek committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    f26e90f View commit details
    Browse the repository at this point in the history
  2. Update k8s-version

    mvdbeek committed Apr 24, 2024
    Configuration menu
    Copy the full SHA
    64be33e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ab08738 View commit details
    Browse the repository at this point in the history