Issue
Is it possible to avoid the red background color when the notebook prints logging output? For an example see this sample notebook.
http://nbviewer.ipython.org/gist/bjonen/1bd52a7d8a4761a74074
Solution
The red background highlights output sent to stderr as opposed to stdout. To avoid it, you could send your logging to stdout:
ch = logging.StreamHandler(sys.stdout)
Answered By - Thomas K
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.