Refactor log files path