  
  from datetime import datetime
  from time import sleep
  
  from lib.queue_manager import queue_manager
  from lib.sysinfo import sysinfo
  
 
</s> remove             logger.verbose("Resizing image from %sx%s to %s.",
                           width, height, "x".join(str(i) for i in dims))
 </s> add             logger.trace("Resizing image from %sx%s to %s.",
                         width, height, "x".join(str(i) for i in dims)) </s> remove # Add a flag to logging.LogRecord to not strip formatting from particular records
old_factory = logging.getLogRecordFactory()


 </s> add old_factory = logging.getLogRecordFactory()  # pylint: disable=invalid-name </s> remove     log_console = logging.StreamHandler(sys.stdout)
 </s> add     log_console = TqdmHandler(sys.stdout)
from tqdm import tqdm
  
  from datetime import datetime
  from time import sleep
from tqdm import tqdm
  
  from lib.queue_manager import queue_manager
  from lib.sysinfo import sysinfo
  
keep keep add keep keep keep keep
 Use tqdm.write for StreamLogger. Reduce extract resize loglevel. 
lib/logger.py