title: Enable module's logger
body: <p>I'm seeing a behavior that I have no way of explaining...  Here's my simplified setup:</p>
  
  <p>module <code>x</code>:</p>
  
  <pre><code>import logging
  
  logger = logging.getLogger('x')
  
  def test_debugging():
      logger.debug('Debugging')
  </code></pre>
  
  <p>test for module <code>x</code>:</p>
  
  <pre><code>import logging
  import unittest
  
  from x import test_debugging
  
  
  class TestX(unittest.TestCase):
  
      def test_test_debugging(self):
          test_debugging()
  
  
  if __name__ == '__main__':
      logger = logging.getLogger('x')
      logger.setLevel(logging.DEBUG)
      # logging.debug('another test')
      unittest.main()
  </code></pre>
  
  <p>If I uncomment the <code>logging.debug('another test')</code> line I can also see the log from <code>x</code>.  Note, it is not a typo, I'm calling <code>debug</code> on <code>logging</code>, not on the <code>logger</code> from module <code>x</code>.  And if I call <code>debug</code> on <code>logger</code>, I don't see logs.</p>
  
  <p>What is this, I can't even?..</p>