Log Statistics by Node.js