CFY-1071 moved set_logger_handlers method to logger.