Before this fix, the stderr FIFO was advanced by the length of the trimmed message, thus the next error log contained the tail of that message.