updates ipython logging to handle unicode