Revised to send logs via API rather than web socket.