When stdout/stderr is redirected to a file, they are typically opened in fully-buffered mode. This makes it difficult to watch logs in real time, unless the buffer is flushed every time a new message is written.