giving logger a name
@@ -51,7 +51,7 @@ HANDLED_SIGNALS = (
def get_logger(log_level):
log_level = LOG_LEVELS[log_level]
logging.basicConfig(format="%(levelname)s: %(message)s", level=log_level)
- return logging.getLogger()
+ return logging.getLogger("uvicorn")
@click.command()
