Replace print statements with Python logging module (using default --verbose/--quiet options)