refactor - loggers