Remove mqtt debug

This commit is contained in:
Nick O'Leary 2018-01-22 23:15:20 +00:00
parent cf40497e6e
commit f3cf58c8ff
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 1 additions and 2 deletions

View File

@ -136,7 +136,7 @@ module.exports = function(RED) {
tlsNode.addTLSOptions(this.options);
}
}
console.log(this.brokerurl,this.options);
// console.log(this.brokerurl,this.options);
// If there's no rejectUnauthorized already, then this could be an
// old config where this option was provided on the broker node and
@ -182,7 +182,6 @@ module.exports = function(RED) {
};
this.connect = function () {
console.log("CONNECT");
if (!node.connected && !node.connecting) {
node.connecting = true;
node.client = mqtt.connect(node.brokerurl ,node.options);