Move output to consistent logging functionality
Currently we are mixing sys.stdout and print statements throughout the client and additionally we have lots of if debug: statements to handle verbosity. We should instead move to a consistent output function or use the logging functionality to make easy adjustments to output severity.
Bulk assigning all not-Closed issues in Python project that WERE assigned to Chris Bare to .
Progress bar for downloads produces tons of output for large files, ~250,000 lines per GB. This makes log files really hard to wade through. This should be addressed as part of adding logging.
Adding logging facility should fix Error messages on upload retry inconsistent with behavior
Sounds good. I thought it was going to be something like that.
No, you should be pushing the logs to stdout by default. The trick is to change the many print statements to different levels of logging so that one can set the logging level in one location including weather to push to a file with:
Then we can add functionality in the constructor/config file to set the logging level.