Batched writes to the log