in reply to Re^2: Buffered read and matching
in thread Buffered read and matching

You might have been mislead by a bug in my solution where I used the wrong bracket for end of error detection (which makes the script not work at all), but it does process the error when ] is encountered, i.e. well before the next log-line.