From 4570702dd0a220b5856ef6414f653d7b52c25a81 Mon Sep 17 00:00:00 2001 From: Lincoln Stein Date: Thu, 17 Aug 2023 20:17:10 -0400 Subject: [PATCH] hotfix for crashing api --- invokeai/app/api_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invokeai/app/api_app.py b/invokeai/app/api_app.py index 22e9d5ed40..dab3dac2c0 100644 --- a/invokeai/app/api_app.py +++ b/invokeai/app/api_app.py @@ -230,7 +230,7 @@ def invoke_api(): # replace uvicorn's loggers with InvokeAI's for consistent appearance for logname in ["uvicorn.access", "uvicorn"]: - l = logging.get_logger(logname) + l = logging.getLogger(logname) l.handlers.clear() for ch in logger.handlers: l.addHandler(ch)