code: def process_log_config_section(config, log_config):
      
      if 'format' in log_config:
          config.log['format'] = log_config['format']
      if 'level' in log_config:
          config.log['level'] = log_level_from_string(log_config['level'])
docs: Processes the log section from a configuration  data dict.
  
      :param config: The config reference of the object that will hold the
      configuration data from the config_data.
      :param log_config: Log section from a config data dict.