Python logging message not getting output as expected in simplest scenario
<p>I am not getting any output from <code>logging.debug</code> in the simplest possible situation. (I do get output from <code>logger.warn</code>.)</p>

<pre><code>import logging
logger = logging.getLogger()
logger.setLevel(logging.DEBUG)
logger.warn('Logger is warning')
logger.debug('Logger is debugging')
print(logger.getEffectiveLevel(),
      logger.isEnabledFor(logging.DEBUG),
      file=sys.stderr)
</code></pre>

<p>The last line prints the logger's logging level, which shows as <code>logging.DEBUG</code>, and whether the logger is enabled for that level, which is true. yet output appears for <code>log.warn</code> but not for <code>log.debug</code>. What am I missing?</p>

<p>[Python 3.5, OS X 10.11]</p>