modify print to logger.info