Update WebSocket Server Script

WebSocket Server can record log.