title: No handlers found for logger __main__
body: <p>I set up logging throughout my python package using a <em>logconfig.ini</em> file.</p>
  
  <pre><code>[loggers]
  keys=extracts,root
  
  [formatters]
  keys=simple,detailed
  
  [handlers]
  keys=file_handler
  
  [formatter_simple]
  format=%(module)s - %(levelname)s - %(message)s
  datefmt=%Y-%m-%d %H:%M:%S
  
  [formatter_detailed]
  format=%(asctime)s %(name)s:%(lineno)s %(levelname)s %(message)s
  datefmt=%Y-%m-%d %H:%M:%S
  
  [handler_file_handler]
  class=logging.handlers.RotatingFileHandler
  level=DEBUG
  formatter=detailed
  args=('/ebs/logs/foo.log', 'a', 100000000, 3)
  
  [logger_extracts]
  level=DEBUG
  handlers=file_handler
  propagate=1
  qualname=extracts
  
  [logger_root]
  level=NOTSET
  handlers=
  </code></pre>
  
  <p>But whenever I run my application, I get the following warning message in prompt,</p>
  
  <pre><code>No handlers found for logger __main__
  </code></pre>
  
  <p>How can I fix this? <br><br></p>