Refactoring log.