Changes in logging level and time.sleep()