Fix how log lines show up when there is the line has carriage returns.