Changes puts to logger.info