Skip to content

Medusa continues to load logs even after leaving log page. #12120

@Misofist

Description

@Misofist

Describe the bug
If you view the logs and then navigate to a different page, the Medusa client will continue making regular requests to the log API in the background.

To Reproduce

  1. Open Medusa
  2. Open DevTools > Network. Filter to "log".
  3. Navigate to the View Log page. Observe that regular log requests start being made.
  4. Navigate to any other page in Medusa. Observe that the log requests are still being made.

Expected behavior
When I stop viewing the logs, they should stop being loaded.

Medusa (please complete the following information):

Debug logs (at least 50 lines):
Not relevant

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions