Flush log writes.