title: Root logger ignoring logger level
body: <p>Root logger doesn't log when (I think) it should:</p>
  
  <pre><code>import logging
  
  # NOTE: I make sure to set the root logger level to logging.DEBUG
  logging.basicConfig(format='%(levelname)s:%(message)s', level=logging.DEBUG)
  
  logging.debug('This is a debugging test.')
  </code></pre>
  
  <p>From my understanding this should log something but it does nothing.
  Quick Google searches didn't help me to figure this issue out, neither did the <a href="https://docs.python.org/3/library/logging.html" rel="nofollow">official documentation</a>.</p>
  
  <p>In the other hand, if I use <code>logging.warning</code> instead of <code>logging.debug</code>, it does work.</p>
  
  <p>What am I doing wrong?</p>
  
  <p><strong>EDIT:</strong> </p>
  
  <p>Checking the current level with <code>logging.getLogger().getEffectiveLevel()</code> indicates me that the level is still at <code>30</code>, like before the call of <code>logging.basicConfig</code>.</p>
  
  <p>Checking <code>logging.getLogger().isEnabledFor(logging.DEBUG)</code> effectively tells me that the root logger level isn't enabled for <code>logging.DEBUG</code>.</p>