div class="highlight"><pre><span></span><span class="c1"># Using logging to populate standard output with info level log entries</span>
<span class="n">stdout_log</span> <span class="o">=</span> <span class="n">logging</span><span class="o">.</span><span class="n">StreamHandler</span><span class="p">(</span><span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="p">)</span>
<span class="n">stdout_log</span><span class="o">.</span><span class="n">setFormatter</span><span c