Node.js: Better logging for web client