Refactor loggers to simplify.