Changed to logger.warning