title: logger.info(traceback.print_exc()) coming on python gui
body: <p>When I execute <code>logger.info(traceback.print_exc())</code>
  the trace gets on console rather than in the log file
  I have <code>logger.propagate = False</code> also still the same issue</p>