Websocket logs events to the console