A simple log parsing script based on Node.js