boinc icon indicating copy to clipboard operation
boinc copied to clipboard

Client doesn't write to log files with --detach_console

Open Deophius opened this issue 2 years ago • 2 comments

Describe the bug When I am manually starting the boinc client on the command line with the --detach_console --redirectio options, the client doesn't write its stdout to the log file stdoutdae.txt. However, if I omit the --detach_console option, the log is written as usual.

Steps To Reproduce

  1. Run ./boinc --redirectio and check stdoutdae.txt. The logs are written normally.
  2. Kill the previously started boinc instance and start a new one with ./boinc --redirectio --detach_console. The log file is not updated.
  3. If I delete stdoutdae.txt first and then run ./boinc --redirectio --detach_console, stdoutdae.txt is created but empty.

Expected behavior Client writing logs to the log file.

This had always worked before, but suddenly stopped working after a Windows update (see below)

System Information

  • OS: Windows 11, just installed KB5019980 and KB5020622
  • BOINC Version: 7.20.2

Deophius avatar Nov 10 '22 06:11 Deophius

@Deophius Is this still an issue on latest Windows 11?

Frigyes06 avatar Jan 07 '23 05:01 Frigyes06

@Frigyes06 This issue seems to persist on latest Win11

Deophius avatar Jan 13 '23 05:01 Deophius