Logfile empty when running Syncthing using start command from CMD in Windows
What happened?
I assume this is some kind of a Windows-specific quirk, but when starting Syncthing from the command line (cmd.exe) as follows
start "" syncthing.exe
the log is not saved to the disk. It doesn't matter if it's the default location or a specific location set with --log-file=<filename>, the logfile just stays at 0 bytes all the time. This isn't the case when Syncthing is run without the start command.
I will try to do more testing later on, but I assume the problem may be related to https://github.com/syncthing/syncthing/pull/10726, as I've been using the same method to start Syncthing for years and I can say for sure that the logfile used to be written to the disk just fine.
@Shablone Have you perhaps got any idea what the culprit may be here?
Syncthing version
2.1.5
Platform & operating system
Windows
Browser version
N/A
Relevant log output
Source: syncthing/syncthing