Replace print statements with logging.info() calls