title: Prevent Python logger from printing to console
body: <p>I'm getting mad at the logging module from Python, because I really have no idea anymore why the logger is printing out the logging messages to the console (on the DEBUG level, even though I set my FileHandler to INFO). The log file is produced correctly.
  But I don't want any logger information on the console. 
  Here is my configuration for the logger:</p>
  
  <pre><code>template_name = "testing"
  fh = logging.FileHandler(filename="testing.log")
  fr = logging.Formatter("%(asctime)s,%(msecs)d %(name)s %(levelname)s %(message)s")
  fh.setFormatter(fr)
  fh.setLevel(logging.INFO)
  logger = logging.getLogger(template_name)
  # logger.propagate = False # this helps nothing
  logger.addHandler(fh)
  </code></pre>
  
  <p>Would be nice if anybody could help me out :)</p>