because tee redirects stdout to a file, the stream thinks its output is not displayed on a terminal anymore, which changes its line buffering from linebuffering to EOF (I think). This defeats the purpose of using tee to have a live updated logger output in a file.
Putting stdbuf -oL -eL resolves this issue, because it forces stdout and stderr to use linebuffering again, but this needs to be done by the user. Maybe I can find a way to include this automatically in the start command.
because tee redirects stdout to a file, the stream thinks its output is not displayed on a terminal anymore, which changes its line buffering from linebuffering to EOF (I think). This defeats the purpose of using tee to have a live updated logger output in a file. Putting
stdbuf -oL -eL
resolves this issue, because it forces stdout and stderr to use linebuffering again, but this needs to be done by the user. Maybe I can find a way to include this automatically in the start command.