Refactoring transit log