Saving transaction log.