Reduce the number of lines per read.

Modify log message to be more correct.
Remove the buffer if there are no entries in it.