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

[BUG] DEBUG_FILE log doesnt show time taken for operation #27477

Closed
1 task
puagarwa opened this issue Oct 6, 2023 · 1 comment
Closed
1 task

[BUG] DEBUG_FILE log doesnt show time taken for operation #27477

puagarwa opened this issue Oct 6, 2023 · 1 comment

Comments

@puagarwa
Copy link
Contributor

puagarwa commented Oct 6, 2023

System info

  • Playwright Version: [v1.38]
  • Operating System: [All, Windows 11, Ubuntu 20, macOS 13.2, etc.]
  • Browser: [All, Chromium, Firefox, WebKit]
  • Other info:

Source code

  • I provided exact source code that allows reproducing the issue locally.

When we use DEBUG_FILE env variable to push logs into file, logs doesnt show time spent, whereas it shows when not using file redirection.
DEBUG=pw:api*
DEBUG_FILE=log.log

Steps

  • [Set ENV variable]
  • [Run the test]

Expected

pw:api => selectors.setTestIdAttribute started +0ms
pw:api => browserType.launch started +7ms

Actual

pw:api => selectors.setTestIdAttribute started
pw:api => browserType.launch started

@pavelfeldman
Copy link
Member

We are using the debug module for our logs, so this request should go to their issue tracker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants