Refactoring, Parte do Logging