Fix integer log_level argument.
@@ -225,7 +225,7 @@ class Config:
if isinstance(self.log_level, str):
log_level = LOG_LEVELS[self.log_level]
else:
- log_text = self.log_level
+ log_level = self.log_level
logging.getLogger("").setLevel(log_level)
logging.getLogger("uvicorn.error").setLevel(log_level)
logging.getLogger("uvicorn.access").setLevel(log_level)
