add websocket logging