title: Python logging not outputting anything
body: <p>In a python script I am writing, I am trying to log events using the logging module. I have the following code to configure my logger:</p>
  
  <pre><code>ERROR_FORMAT = "%(levelname)s at %(asctime)s in %(funcName)s in %(filename) at line %(lineno)d: %(message)s"
  DEBUG_FORMAT = "%(lineno)d in %(filename)s at %(asctime)s: %(message)s"
  LOG_CONFIG = {'version':1,
                'formatters':{'error':{'format':ERROR_FORMAT},
                              'debug':{'format':DEBUG_FORMAT}},
                'handlers':{'console':{'class':'logging.StreamHandler',
                                       'formatter':'debug',
                                       'level':logging.DEBUG},
                            'file':{'class':'logging.FileHandler',
                                    'filename':'/usr/local/logs/DatabaseUpdate.log',
                                    'formatter':'error',
                                    'level':logging.ERROR}},
                'root':{'handlers':('console', 'file')}}
  logging.config.dictConfig(LOG_CONFIG)
  </code></pre>
  
  <p>When I try to run <code>logging.debug("Some string")</code>, I get no output to the console, even though <a href="http://docs.python.org/library/logging.html#logging.debug" rel="noreferrer">this page in the docs</a> says that <code>logging.debug</code> should have the root logger output the message. Why is my program not outputting anything, and how can I fix it?</p>