Skip to content

Redirect logs to file doesnt capture time #945

Open
@puagarwa

Description

@puagarwa

https://github.com/microsoft/playwright uses debug module for logging. While using playwright i observed that when using DEBUG_FILE env variable to redirect these logs to file, it doesnt show time whereas when we output it to console, it shows time.

Expected

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

Actual

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

down stream issue microsoft/playwright#27477

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