It's sad that we have to make those workarounds but as it looks like it's necessary. Someone should file an RFE for progressbar.

Said said please do not use numbers here e.g. logging.INFO instead of 20.