Closed mulark closed 6 years ago
The issue is that on Windows attempting to redirect the output of the Factorio executable is not possible. Thus, all information that is only available from the executable's output can not be logged easily.
This may be workaroundable by editing the executable to function as a console application. Reference: https://www.reddit.com/r/factorio/comments/6itmpl/headless_server_chat_log/djael2k/ and https://www.reddit.com/r/factorio/comments/6vavx6
An idea I had is to run the game with the Linux subsystem for Windows, and see if it is affected by this issue. If possible, the bash script may work with little modification.
By using Visual Studio's developer command prompt, it is possible to use the editbin /subsystem:console factorio.exe
command. Performing this action will allow for output redirection of lines not otherwise logged to factorio-current.log. Thus, on Windows it is possible to achieve logging parity with the bash script.
Closed via f066c4a
At some point in the .16 release output redirection on Windows started working.
While Linux version logs a lot more.