Better logging for websocket endpoint