replace logger.debug with logger.info