We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6582a84 + 9a77096 commit e4a1ea9Copy full SHA for e4a1ea9
lib/influxdb.js
@@ -659,7 +659,7 @@ InfluxdbBackend.prototype.httpPOST_v14 = function (points) {
659
};
660
661
var req = self.protocol.request(options);
662
- console.log(options);
+ self.logDebug(JSON.stringify(options));
663
req.on('socket', function (res) {
664
startTime = process.hrtime();
665
});
@@ -692,7 +692,7 @@ InfluxdbBackend.prototype.httpPOST_v14 = function (points) {
692
var size = (self.influxdbStats.payloadSize / 1024).toFixed(2);
693
return 'Payload size ' + size + ' KB';
694
695
- console.log(payload);
+ self.logDebug(payload);
696
req.write(payload);
697
req.end();
698
}
0 commit comments