Loggers refactoring