for this you can just do
  'web_log_level': getattr(logging, config.get('webserver', 'loglevel').upper())
  weblogger.setLevel(config['web_log_level']))

Removes the need for the hash map.

That being said you can use the same method to not have to constantly reference the hashmap later as well.