title: Save logging DEBUG and show only logging INFO Python
body: <p>I would like to save in superwrapper.log all logging lines but only show in console the INFO.
  If I remove the <code>#</code> of filename line , the file is okey but I don't see anything in the console.</p>
  
  <pre><code>if __name__ == '__main__':
  
      logging.basicConfig(
          #filename='superwrapper.log',
          level=logging.DEBUG,
          format='%(asctime)s.%(msecs)03d %(levelname)s %(module)s - %(funcName)s: %(message)s',
          datefmt='%Y-%m-%d %H:%M:%S'
      )
  
  2020-04-28 11:41:09.698 INFO common - handle_elasticsearch: Elastic connection detected
  2020-04-28 11:41:09.699 INFO superwrapper - &lt;module&gt;: Cookies Loaded: |TRUE|
  2020-04-28 11:41:09.715 DEBUG connectionpool - _new_conn: Starting new HTTPS connection (1): m.facebook.com:443
  </code></pre>