change a spammy logger.warning to logger.debug