buglabs/node-xml2json — pull request #13 by crcn (2012-01-27 21:08:35+00:00)
Title: Remove console.log on xml parse error

For high-traffic servers, this becomes an issue when logs are written to disc. This is a better alternative:

```javascript
try {
var json = xml2json(source);
} catch(e) {
console.log('Unable to parse XML from %s, source: \n%s', url, source);
}
```