How to get non-blocking/real-time behavior from Python logging module? (output to PyQt QTextBrowser),sys.exit(app.exec_())