title: Missing logging output in Python
body: <p>I have an issue with Python logging and I'm not sure what the problem is as the same line of code used to work just fine yesterday.</p>
  
  <p>So for example the following code only produces output for the print function but not for logging.</p>
  
  <p>Any ideas?</p>
  
  <pre><code>import logging
  
  if __name__ == '__main__':
      logging.basicConfig(level = logging.DEBUG)
      logging.info("Hello, World!")
      print "Hello, World!"
  </code></pre>