Skip to content

running with --stdout: output wrongly reports logging to file #2

@gogannes

Description

@gogannes

Running with flag --stdout in PowerShell logs into the console "Logging to C:\Users...". It doesn't log into that file (as expected).
Still I would expect it should state "Logging to stdout" or similar instead.

PS C:\Users\x\Downloads\work_log-x86_64-pc-windows-msvc> .\work_log.exe --stdout
Logging to C:\Users\x\work_log.csv
2025-02-11T09:29:07.625575100+01:00,WindowsTerminal,Windows PowerShell,-935,624
2025-02-11T09:29:11.630536200+01:00,WindowsTerminal,Windows PowerShell,-568,588
2025-02-11T09:29:13.633258700+01:00,WindowsTerminal,Windows PowerShell,840,154
2025-02-11T09:29:15.636748400+01:00,Windows-Explorer,Downloads – Datei-Explorer,-1149,64
2025-02-11T09:29:17.639166700+01:00,Windows-Explorer,Downloads – Datei-Explorer,-1441,263
2025-02-11T09:29:19.643235400+01:00,Windows-Explorer,Downloads – Datei-Explorer,-1717,364
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions