title: Setting log level to logging.DEBUG or logging.INFO has no effect
body: <p>I am trying to do a pretty simple logging setup. I just want all of my log output to go to the terminal and to my log file. I found the below example on <a href="https://realpython.com/python-logging/" rel="nofollow noreferrer">Real Python</a> that demonstrates the setup of stream and file log handlers:</p>
  
  <pre><code># logging_example.py
  
  import logging
  
  # Create a custom logger
  logger = logging.getLogger(__name__)
  
  # Create handlers
  c_handler = logging.StreamHandler()
  f_handler = logging.FileHandler('file.log')
  c_handler.setLevel(logging.WARNING)
  f_handler.setLevel(logging.ERROR)
  
  # Create formatters and add it to handlers
  c_format = logging.Formatter('%(name)s - %(levelname)s - %(message)s')
  f_format = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
  c_handler.setFormatter(c_format)
  f_handler.setFormatter(f_format)
  
  # Add handlers to the logger
  logger.addHandler(c_handler)
  logger.addHandler(f_handler)
  
  logger.warning('This is a warning')
  logger.error('This is an error')
  
  ## Log Output
  # 2019-08-31 22:16:02,478 - __main__ - WARNING - This is a warning
  # 2019-08-31 22:16:02,478 - __main__ - ERROR - This is an error
  </code></pre>
  
  <p>And this logs to the console and to the file as you would expect. However, when I modify the program so that it will also log INFO, like so:</p>
  
  <pre><code>import logging
  
  # Create a custom logger
  logger = logging.getLogger(__name__)
  
  # Create handlers
  c_handler = logging.StreamHandler()
  f_handler = logging.FileHandler('file.log')
  c_handler.setLevel(logging.DEBUG)
  f_handler.setLevel(logging.DEBUG)
  
  # Create formatters and add it to handlers
  c_format = logging.Formatter('%(name)s - %(levelname)s - %(message)s')
  f_format = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
  c_handler.setFormatter(c_format)
  f_handler.setFormatter(f_format)
  
  # Add handlers to the logger
  logger.addHandler(c_handler)
  logger.addHandler(f_handler)
  
  
  logger.warning('logs')
  logger.error('logs')
  logger.info('should log but doesn\'t')
  logger.debug('should log but doesn\'t')
  
  ## Log Output
  # __main__ - WARNING - logs
  # __main__ - ERROR - logs
  </code></pre>
  
  <p>What am I doing wrong? Any help would be greatly appreciated!</p>