title: Python: logging.streamhandler is not sending logs to stdout
body: <p>I want to use StreamHandler logging handler of python.
  What i have tried is,</p>
  
  <pre><code>import logging
  import sys
  mylogger = logging.getLogger("mylogger")
  h1 = logging.StreamHandler(stream=sys.stdout)
  h1.setLevel(logging.DEBUG)
  
  mylogger.addHandler(h1)
  
  # now trying to log with the created logger
  mylogger.debug("abcd") # &lt;no output&gt;
  mylogger.info("abcd") # &lt;no output&gt;
  mylogger.warn("abcd") # abcd
  </code></pre>
  
  <p>Am i missing something ? Or doing any wrong ?
  Why INFO and DEBUG level logs are not coming on STDOUT ?</p>