write socket.io log to file