Convert all print statements to use the Python logger, so that users can easily redirect logging.
Convert all print statements to use the Python logger, so that users can easily redirect logging.