Fixed batch log appending