Log refactorings