Jupyter notebook does not print logs to the output cell
<p>I am currently using <code>Jupyter</code> notebook and I would like to force it to print out <code>Python</code> logs to the output cell.</p>

<p>I am using old notebook that used to work this way, probably in older version of <code>Jupyter</code> notebook.</p>

<p>I have logging set as:</p>

<pre><code>import logging
logging.basicConfig(format='%(levelname)s : %(message)s', level=logging.INFO)
logging.root.level = 20
</code></pre>

<p>But when I then call:</p>

<pre><code>logging.info("hello world")
</code></pre>

<p>It does not print anything in the output cell. It just prints out the stuff in the console in which I started the <code>Jupyter</code> notebook.</p>

<p>I am using <code>python 2.7.10</code> and installed packages in my virtual environment are:</p>

<pre><code>appnope==0.1.0
backports-abc==0.4
backports.ssl-match-hostname==3.5.0.1
certifi==2016.2.28
decorator==4.0.9
functools32==3.2.3.post2
gnureadline==6.3.3
ipykernel==4.3.1
ipython==4.1.2
ipython-genutils==0.1.0
ipywidgets==4.1.1
Jinja2==2.8
jsonschema==2.5.1
jupyter==1.0.0
jupyter-client==4.2.2
jupyter-console==4.1.1
jupyter-core==4.1.0
MarkupSafe==0.23
mistune==0.7.2
nbconvert==4.1.0
nbformat==4.0.1
notebook==4.1.0
path.py==8.1.2
pexpect==4.0.1
pickleshare==0.6
ptyprocess==0.5.1
Pygments==2.1.3
pyzmq==15.2.0
qtconsole==4.2.0
simplegeneric==0.8.1
singledispatch==3.4.0.3
six==1.10.0
terminado==0.6
tornado==4.3
traitlets==4.1.0
wheel==0.24.0
</code></pre>

<p>Was logging printout in the cell changed? Is there some way how I can force <code>Jupyter</code> to write out logging to the output cell? </p>