Replace some prints with logging.info messages and