Replace all remaining "print"s by logging.