Change logger for ws requests
Some checks failed
ci/woodpecker/push/docker Pipeline failed

This commit is contained in:
Oliver Traber 2024-04-20 17:27:25 +02:00
parent ebc5e1306a
commit c39f39c989

View file

@ -2,7 +2,7 @@ import logging
from fastapi import WebSocket, WebSocketDisconnect
from websockets import ConnectionClosed
logger = logging.getLogger("gunicorn.access")
logger = logging.getLogger("gunicorn.error")
# Wrapper to transform a FastAPI websocket to a standard websocket
class WebSocketWrapper():