logger refactored