Prevented growing log in transaction to minimize garbage collection.