Logger Factory refactoring