I am running godot server using the following command:
./godot-server --main-pack game.pck
which displays output like this:
Godot Engine v3.2.1.stable.official - https://godotengine.org
ERROR: get_language_code: Condition "p_locale.length() < 2" is true. Returned: p_locale
At: core/translation.cpp:945.
ERROR: set_locale: Unsupported locale 'C', falling back to 'en'.
At: core/translation.cpp:969.
Starting game
When I try to capture this output into a log file like this:
./godot-server --main-pack game.pck &> /tmp/test.log
I end up with only the stderr in the log file, and not the stdout:
ERROR: get_language_code: Condition "p_locale.length() < 2" is true. Returned: p_locale
At: core/translation.cpp:945.
ERROR: set_locale: Unsupported locale 'C', falling back to 'en'.
At: core/translation.cpp:969.
I actually first noticed this when trying to run the server from a systemd service, the stdout is not being captured by journalctl.
Any thoughts? possible bug? buffers not being flushed or something?