python - Jupyter notebook logging [Errno 32] Broken pipe -
i'm observing strange behavior in current jupyter notebook setup: upon each warning or error reported i'm getting whole stackdump of broken pipe error in addition main error message being displayed.
this gets extremely disturbing when 1 cell generates bunch of non-critical errors , browser window hangs trying render of accompanying stacktraces. idea in direction should investigate nail down? i've tried redirect logger.handlers[0] stdout , stderr described e.g. here, no effect (regular logger messages in logger.debug() , print() processed correctly).
import logging logger = logging.getlogger() logger.handlers[0].stream = sys.stderr i'm using ipykernel 4.3.1 (python3)

Comments
Post a Comment