Improve logging. Move print() statements to appropiate log().

Add COMFYUI and WEBHOOK logging and associated environment variable
control. Add WEBHOOK payload & request debug logs.
This commit is contained in:
Self Denial 2024-03-31 13:17:29 -06:00
parent 1d7ca44017
commit 144c9059a3
6 changed files with 31 additions and 16 deletions

View file

@ -272,7 +272,7 @@ async def pull_model(
if request_id in REQUEST_POOL:
yield chunk
else:
print("User: canceled request")
log.warning("User: canceled request")
break
finally:
if hasattr(r, "close"):