code: def _set_log_level(self):
          
          # set log level on logger
          log_level = "INFO"
          if hasattr(self._config, "level") and self._config.level.upper() in ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]:
              log_level = self._config.level.upper()
          self._log_level = log_level
docs: Inspects config and sets the log level as instance attr. If not present
          in config, default is "INFO".