This method should not exist. TransactionLogReplicationIterator is only for reading. Simply create a new FileTransactionLog where you would call this method and call append on it.