Every transaction successfully processed by the system should be recorded on a transaction log, which serves as a journal. A transaction log serves two purposes. First, the transaction log is a permanent record of valid transactions. The original transaction file produced at the data input phase is usually only a temporary file. Once processed, the records on this file are erased (scratched) to make room for the next batch of transactions.